diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-25 15:23:55 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-25 15:23:55 +0100 |
commit | ebd99165e9473e4b0f93574c3d0aa9a5c8090841 (patch) | |
tree | 759dce0974f75730759a5c5c8051350e2235e3f4 /app/__init__.py | |
parent | 3565058eea6f2ec8f47b0afce068ed0c5e801981 (diff) | |
download | cheatdb-ebd99165e9473e4b0f93574c3d0aa9a5c8090841.tar.xz |
Fix static routing error
Diffstat (limited to 'app/__init__.py')
-rw-r--r-- | app/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/__init__.py b/app/__init__.py index a6d15ce..8b7dd6a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -25,7 +25,7 @@ from flask_wtf.csrf import CsrfProtect from flask_flatpages import FlatPages import os -app = Flask(__name__) +app = Flask(__name__, static_folder="public/static") app.config["FLATPAGES_ROOT"] = "flatpages" app.config["FLATPAGES_EXTENSION"] = ".md" app.config.from_pyfile(os.environ["FLASK_CONFIG"]) |