flask: Added host to allow more access

This commit is contained in:
Nathan Woodburn 2023-08-16 17:05:15 +10:00
parent 21a5762276
commit aed9fea0f1
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 2 deletions

View File

@ -185,4 +185,4 @@ def site_worker(domain):
# Start the server
if __name__ == '__main__':
app.run(debug=False, port=5000)
app.run(debug=False, port=5000, host='0.0.0.0')

View File

@ -69,4 +69,4 @@ def site_exists(domain):
# Start the server
if __name__ == '__main__':
app.run(debug=False, port=5000)
app.run(debug=False, port=5000,host='0.0.0.0')