Skip to content

Commit b1c234a

Browse files
committed
Add host configuration to WSGIServer
Adding host parameter '0.0.0.0' enables compatibility on Firefox
1 parent cd679fe commit b1c234a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ def upload():
8383
# app.run(port=5002, debug=True)
8484

8585
# Serve the app with gevent
86-
http_server = WSGIServer(('', 5000), app)
86+
http_server = WSGIServer(('0.0.0.0', 5000), app)
8787
http_server.serve_forever()

0 commit comments

Comments
 (0)