fix init index_content
This commit is contained in:
parent
316cf7e581
commit
a50d5b177f
@ -15,6 +15,8 @@ def create_app() -> Flask:
|
|||||||
add_api_resources(api)
|
add_api_resources(api)
|
||||||
cors = CORS(app, resources={r"/api/*": {"origins": "*"}})
|
cors = CORS(app, resources={r"/api/*": {"origins": "*"}})
|
||||||
|
|
||||||
|
index_content: str = ""
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
return index_content
|
return index_content
|
||||||
|
Loading…
Reference in New Issue
Block a user