1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 23:05:10 +01:00

Run app on 0.0.0.0 instead of 127.0.0.1 (e.g., in termux)

This commit is contained in:
2018-03-30 16:01:50 +02:00
parent 9694ca566b
commit dd1e3a19ff

View File

@@ -1078,4 +1078,4 @@ for user in users:
# Run when called standalone # Run when called standalone
if __name__ == '__main__': if __name__ == '__main__':
# run the application # run the application
app.run(port=9999, debug=True) app.run(host='0.0.0.0', port=9999, debug=True)