Commit bbca5371 authored by wanliofficial's avatar wanliofficial

update

parent 0ab79981
{"lastModifyDateTime": 1624969659} {"lastModifyDateTime": 1624973031}
\ No newline at end of file \ No newline at end of file
...@@ -20,5 +20,5 @@ name = evm_store ...@@ -20,5 +20,5 @@ name = evm_store
backup_dir = backup backup_dir = backup
evueapps_dir = evueapps evueapps_dir = evueapps
launcher_dir = launcher launcher_dir = launcher
host = 127.0.0.1 host = 0.0.0.0
port = 3000 port = 3000
This diff is collapsed.
...@@ -48,16 +48,16 @@ def start(): ...@@ -48,16 +48,16 @@ def start():
(r'/', VueHandler), (r'/', VueHandler),
(r'/index', VueHandler), (r'/index', VueHandler),
(r"/api/v1/evm_store/monitor", DeviceMessageHandler), (r"/api/v1/evm_store/monitor", DeviceMessageHandler),
(r'/ws/v1/notify', NotifyHandler), (r"/ws/v1/notify", NotifyHandler),
(r'.*', FallbackHandler, dict(fallback=wsgi_app)) (r'.*', FallbackHandler, dict(fallback=wsgi_app))
], **settings) ], **settings)
if len(sys.argv) == 2: if len(sys.argv) == 2:
port = int(sys.argv[1]) port = int(sys.argv[1])
application.listen(port, address=config['HOST']) application.listen(port, address=config['HOST'], xheaders=True)
else: else:
port = config['PORT'] port = config['PORT']
application.listen(port, address=config['HOST']) application.listen(port, address=config['HOST'], xheaders=True)
print(config['LOGO']) print(config['LOGO'])
print("server running at %s:%d" % (config['HOST'], port)) 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