fix: 将对外 IP 固定为 121.40.164.32

修改内容:
- 移除 IP 输入框,改为静态显示
- 固定 externalIp 为 121.40.164.32
- 移除 saveExternalIp() 函数
- 所有 localhost 链接将自动替换为对外 IP
This commit is contained in:
2026-06-01 11:37:07 +08:00
parent 761edef6fe
commit 248c951a96
2 changed files with 11 additions and 19 deletions

View File

@@ -1,8 +1,8 @@
[2026-06-01 11:29:23] ==================================================
[2026-06-01 11:29:23] 项目服务管理面板 v2.0.0 启动
[2026-06-01 11:29:23] 访问地址: http://localhost:16022
[2026-06-01 11:29:23] 进程PID: 772725
[2026-06-01 11:29:23] ==================================================
[2026-06-01 11:36:47] ==================================================
[2026-06-01 11:36:47] 项目服务管理面板 v2.0.0 启动
[2026-06-01 11:36:47] 访问地址: http://localhost:16022
[2026-06-01 11:36:47] 进程PID: 773965
[2026-06-01 11:36:47] ==================================================
* Serving Flask app 'app'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
@@ -10,7 +10,5 @@
* Running on http://127.0.0.1:16022
* Running on http://192.168.0.101:16022
Press CTRL+C to quit
127.0.0.1 - - [01/Jun/2026 11:29:31] "GET /api/docker/containers HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2026 11:29:38] "GET /api/docker/container/641688a330c1/stats HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2026 11:30:08] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2026 11:30:08] "GET /api/projects HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2026 11:37:01] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2026 11:37:01] "GET /api/projects HTTP/1.1" 200 -