aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rw-r--r--server.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/server.py b/server.py
index 8614fe3..21ecb2f 100644
--- a/server.py
+++ b/server.py
@@ -192,7 +192,7 @@ def setup():
app.config.update({'DOMAIN': siteconfig.DOMAIN})
app.config.update({'HOME_TITLE': siteconfig.HOME_TITLE})
-
+# Need to come first to be compatible with wsgi
+setup()
if __name__ == '__main__':
- setup()
- app.run(host=siteconfig.HOST, port=siteconfig.PORT)
+ app.run()