fix init index_content

This commit is contained in:
Dmitry Belyaev 2021-10-07 14:41:08 +03:00
parent 316cf7e581
commit a50d5b177f
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -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