summaryrefslogtreecommitdiff
path: root/cli/app/server/web.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-19 21:45:18 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-19 21:45:18 +0200
commit4a1cf5aae64bf5cbe498b783f1724c86dc0b228c (patch)
tree912b2eebae2c5bd1d66145bcdb4c582e006d6e3f /cli/app/server/web.py
parentff134ba1809fe3f96b806051ac6f4afb52c4304e (diff)
server port stuff
Diffstat (limited to 'cli/app/server/web.py')
-rw-r--r--cli/app/server/web.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/app/server/web.py b/cli/app/server/web.py
index 83dbc24..0436cd4 100644
--- a/cli/app/server/web.py
+++ b/cli/app/server/web.py
@@ -30,6 +30,7 @@ def create_app(script_info=None):
app = Flask(__name__, static_folder=app_cfg.DIR_STATIC, static_url_path='/static')
app.config['SQLALCHEMY_DATABASE_URI'] = connection_url
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
+ app.config['SERVER_NAME'] = app_cfg.SERVER_NAME
app.url_map.strict_slashes = False
db.init_app(app)