1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-11-21 23:27:29 +00:00

Use host 0.0.0.0

This commit is contained in:
Cadence Ember 2020-08-12 01:28:16 +12:00
parent 984781ea3c
commit 04c4e4d472
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412

View File

@ -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())