commit f13adc7eed70d2c00ff9acb9104ae02f8e061a1e
parent 74b68faac063a8fe00aac1bcc43b23e7c6faf2c7
Author: Oshgnacknak <osh@oshgnacknak.de>
Date: Tue, 25 Jun 2019 21:16:40 +0100
actually use config host
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run.py b/run.py
@@ -7,7 +7,7 @@ def main():
host = config.get('HOST', '127.0.0.1')
port = config.get('PORT', 5000)
debug = config.get('DEBUG', False)
- app.run(host='0.0.0.0', port=port, debug=debug)
+ app.run(host=host, port=port, debug=debug)
if __name__ == '__main__':