diff options
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |