Update server address to 0.0.0.0

This commit is contained in:
pys306
2026-04-27 22:31:07 +09:00
parent bf8914856e
commit 50a7544a55

View File

@@ -18,7 +18,7 @@ def get_screen_width():
def start_streamlit(port):
global proc
cmd = [sys.executable, "-m", "streamlit", "run", os.path.join(frontends_dir, "stapp.py"), "--server.port", str(port), "--server.address", "192.168.50.101", "--server.headless", "true"]
cmd = [sys.executable, "-m", "streamlit", "run", os.path.join(frontends_dir, "stapp.py"), "--server.port", str(port), "--server.address", "0.0.0.0", "--server.headless", "true"]
proc = subprocess.Popen(cmd)
atexit.register(proc.kill)