Commit bbca5371 authored by wanliofficial's avatar wanliofficial

update

parent 0ab79981
{"lastModifyDateTime": 1624969659}
\ No newline at end of file
{"lastModifyDateTime": 1624973031}
\ No newline at end of file
......@@ -20,5 +20,5 @@ name = evm_store
backup_dir = backup
evueapps_dir = evueapps
launcher_dir = launcher
host = 127.0.0.1
host = 0.0.0.0
port = 3000
This diff is collapsed.
......@@ -48,16 +48,16 @@ def start():
(r'/', VueHandler),
(r'/index', VueHandler),
(r"/api/v1/evm_store/monitor", DeviceMessageHandler),
(r'/ws/v1/notify', NotifyHandler),
(r"/ws/v1/notify", NotifyHandler),
(r'.*', FallbackHandler, dict(fallback=wsgi_app))
], **settings)
if len(sys.argv) == 2:
port = int(sys.argv[1])
application.listen(port, address=config['HOST'])
application.listen(port, address=config['HOST'], xheaders=True)
else:
port = config['PORT']
application.listen(port, address=config['HOST'])
application.listen(port, address=config['HOST'], xheaders=True)
print(config['LOGO'])
print("server running at %s:%d" % (config['HOST'], port))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment