This commit is contained in:
wangjiming
2026-07-30 14:38:56 +08:00
parent 4c7d66030c
commit 945b4ace86
55 changed files with 16633 additions and 1318 deletions

View File

@@ -44,8 +44,8 @@ export default defineConfig({
port: 16801,
proxy: {
// Frontend uses /modelTF and proxies to the local five-digit backend port.
// 后端跑在 WSL2networkingMode=mirroreduvicorn 必须以
// --host 0.0.0.0 启动Windows 的 localhost 才能到达它。详见 UI测试手册第 0 节
// 后端跑在 WSL2 默认NAT网络下Windows 的 localhost 经 localhostForwarding 转发到 WSL
// 后端以 --host 0.0.0.0 启动即可。不要用 networkingMode=mirrored本机镜像回环对 WSL 服务失效)
'/modelTF': {
target: 'http://localhost:17861',
changeOrigin: true,