From aed9fea0f14fe8d548ee8990d1cf6252e951567e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 16 Aug 2023 17:05:15 +1000 Subject: [PATCH] flask: Added host to allow more access --- master/main.py | 2 +- worker/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/master/main.py b/master/main.py index e028cbc..832be70 100644 --- a/master/main.py +++ b/master/main.py @@ -185,4 +185,4 @@ def site_worker(domain): # Start the server if __name__ == '__main__': - app.run(debug=False, port=5000) \ No newline at end of file + app.run(debug=False, port=5000, host='0.0.0.0') \ No newline at end of file diff --git a/worker/main.py b/worker/main.py index a51293d..09980f7 100644 --- a/worker/main.py +++ b/worker/main.py @@ -69,4 +69,4 @@ def site_exists(domain): # Start the server if __name__ == '__main__': - app.run(debug=False, port=5000) \ No newline at end of file + app.run(debug=False, port=5000,host='0.0.0.0') \ No newline at end of file