mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-20 04:50:40 +00:00
Add NOPAQUE_HOST and NOPAQUE_PORT variables
This commit is contained in:
@ -60,4 +60,6 @@ def test():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
socketio.run(app, host='0.0.0.0')
|
||||
host = os.environ.get('NOPAQUE_HOST', '0.0.0.0')
|
||||
port = int(os.environ.get('NOPAQUE_PORT', '5000'))
|
||||
socketio.run(app, host=host, port=port)
|
||||
|
Reference in New Issue
Block a user