Files
hideck/web
BFNOC c91ff20532 fix(imscore): await the Lebara UK P-CSCF after a port-s timeout
- Probe with a REGISTER after a Lebara UK port-s timeout and wait for the P-CSCF to reopen port-s once it succeeds
- Keep SMS readiness true with its own reasons while probing and waiting
- Bind the wait and the probe grace to the timed-out port-s generation and P-CSCF, and drop them on a new registration
- Send another probe REGISTER when port-s timed out while an earlier REGISTER was in flight
- End the wait when a REGISTER fails or a refresh negotiates an outbound flow, and the probe grace when recovery backs off
- Count a peer reopen during the wait as on-demand evidence only when no REGISTER is in flight
- Mirror sipOutbound into an atomic and clear the post-REGISTER wait flag on every port-s close
- Log entering, declining and ending the wait, each REGISTER during it and probe retries with the carrier preset and peer reconnect history
- Show in the web UI that SMS reception waits for the carrier to reopen port-s
- Add tests for the Lebara UK wait, probes, failures, stale states, outbound and carriers outside the list
2026-10-29 00:47:52 +08:00
..
2026-07-06 04:30:39 +08:00
2026-07-06 04:30:39 +08:00

Web 管理界面(Vue 3 + Vite)

该目录是 EC20 4G Proxy Manager 的前端工程,提供设备状态、短信、代理实例(sing-box)等管理功能。

依赖与约定

  • 后端默认监听 :7575,API 前缀为 /api。
  • 前端开发服务器默认监听 :5173,并通过 Vite 代理把 /api 转发到 http://127.0.0.1:7575(见 vite.config.ts)。

开发运行

npm i
npm run dev

默认访问 http://127.0.0.1:5173/。

如需在远程/容器里对外暴露,可使用:

npm run dev -- --host 0.0.0.0 --port 5174

构建

npm run build

构建产物输出到 web/dist。后端会读取该目录并把它作为 SPA 静态资源托管(未命中路由时回落到 index.html)。

相关文档