1 parent 36b6ae1 commit 987bdb3Copy full SHA for 987bdb3
1 file changed
widemem/server.py
@@ -115,4 +115,5 @@ def health():
115
import uvicorn
116
117
port = int(os.environ.get("WIDEMEM_PORT", "11435"))
118
- uvicorn.run("widemem.server:app", host="0.0.0.0", port=port)
+ host = os.environ.get("WIDEMEM_HOST", "127.0.0.1")
119
+ uvicorn.run("widemem.server:app", host=host, port=port)
0 commit comments