mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-12-22 21:16:58 +00:00
Use host 0.0.0.0
This commit is contained in:
parent
984781ea3c
commit
04c4e4d472
2
index.py
2
index.py
@ -553,5 +553,5 @@ class Second(object):
|
||||
cherrypy.response.headers["content-type"] = r.headers["content-type"]
|
||||
return r # no idea if this is a good way to do it, but it definitely works! :D
|
||||
|
||||
cherrypy.config.update({"server.socket_port": 3000})
|
||||
cherrypy.config.update({"server.socket_port": 3000, "server.socket_host": "0.0.0.0"})
|
||||
cherrypy.quickstart(Second())
|
||||
|
Loading…
Reference in New Issue
Block a user