Use config when running devserver

This commit is contained in:
2016-04-05 17:38:11 +02:00
parent 5e74120c3f
commit 771b091626

View File

@@ -43,7 +43,9 @@ def runserver():
if not os.path.exists(app.config['STORAGE_DIR']):
os.makedirs(app.config['STORAGE_DIR'])
app.run()
app.run(host=app.config['HOST'],
port=app.config['PORT'],
debug=app.config['DEBUG'])
def post_item(entry, data):