From fd3a4af66706582f57d2fb3c24fc57b4482e30bb Mon Sep 17 00:00:00 2001 From: Xiaohui Qu Date: Thu, 12 Mar 2026 15:31:00 -0400 Subject: [PATCH] limit the client IP to the processes running on the same server --- lightshowai/xas_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightshowai/xas_ui.py b/lightshowai/xas_ui.py index fbe543a..8981a3c 100644 --- a/lightshowai/xas_ui.py +++ b/lightshowai/xas_ui.py @@ -1868,7 +1868,7 @@ def serve(): "please set your materials project API key to " "this environment variable before running this app") exit() - app.run(debug=False, port=8443, host='0.0.0.0') + app.run(debug=False, port=8443, host='127.0.0.1') if __name__ == "__main__": serve() \ No newline at end of file