replace flask with sanic
This commit is contained in:
+3
-4
@@ -1,5 +1,4 @@
|
||||
from flask import Flask
|
||||
from flask.ext.cache import Cache
|
||||
from sanic import Sanic
|
||||
|
||||
app = Flask(__name__)
|
||||
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
|
||||
app = Sanic()
|
||||
cache = {}
|
||||
|
||||
Reference in New Issue
Block a user