fix: 使用服务器绑定地址生成本地访问 URL

- 通过 127.0.0.1 打开 Tasks,避免受到 localhost 旧 Service Worker 和缓存影响
- 更新 Windows 开发服务器文档,使其与实际生成的访问地址一致
This commit is contained in:
eddy
2026-08-01 14:53:27 +08:00
parent f25ab72cb6
commit ebc245da50
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ def validate_project() -> bool:
def server_url(port: int) -> str:
return f"http://localhost:{port}/"
return f"http://{HOST}:{port}/"
def open_browser(port: int) -> None: