Bind HTTP server to 0.0.0.0 for remote access
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
175582914d
commit
20de39fc46
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -30,7 +30,7 @@ def rns_request_handler(path, data, request_id, link_id, remote_identity, reques
|
||||||
def start_gateway(reticulum):
|
def start_gateway(reticulum):
|
||||||
GatewayState.reticulum = reticulum
|
GatewayState.reticulum = reticulum
|
||||||
GatewayState.local_dispatch = dispatch_request
|
GatewayState.local_dispatch = dispatch_request
|
||||||
server = HTTPServer(("127.0.0.1", GATEWAY_PORT), GatewayHandler)
|
server = HTTPServer(("0.0.0.0", GATEWAY_PORT), GatewayHandler)
|
||||||
thread = threading.Thread(target=server.serve_forever, daemon=True)
|
thread = threading.Thread(target=server.serve_forever, daemon=True)
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue