From 77871514afefe39b0ad4fddde75230d332917764 Mon Sep 17 00:00:00 2001 From: "Frank \"PHiAX\" Weggelaar" Date: Sat, 31 Aug 2024 20:48:19 +0200 Subject: [PATCH] not app.config but in run... --- app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app.py b/app.py index 4da9982..74bb6e6 100644 --- a/app.py +++ b/app.py @@ -14,8 +14,6 @@ sink = inputs[-1] # initialization app = Flask(__name__) app.config['SECRET_KEY'] = 'the quick brown fox jumps over the lazy dog' -app.config['HOST'] = '0.0.0.0' -app.config['PORT'] = '5000' class User(): def generate_auth_token(self, expires_in=600): @@ -69,4 +67,4 @@ def disconnect(): if __name__ == '__main__': # if not os.path.exists('db.sqlite'): # db.create_all() - app.run(debug=True) \ No newline at end of file + app.run(debug=True, host='0.0.0.0', port=5000) \ No newline at end of file