static file path

This commit is contained in:
2021-11-28 21:30:55 +00:00
parent 993d8ec69b
commit 713488c453
2 changed files with 28 additions and 13 deletions

View File

@@ -10,9 +10,10 @@ def create_app(test_config=None):
app.config.from_mapping(
# a default secret that should be overridden by instance config
SECRET_KEY="dev",
URL_PREFIX = "/"
)
URL_PREFIX = "/",
)
if not test_config:
# load the instance config, if it exists, when not testing
app.config.from_pyfile("cfg.py")