Przeglądaj źródła

fix: 修复人才小程序 H5 代理端口配置

将 /talent-mini 和 /talent-mini-ws 代理目标端口从 10088 修正为 10087,
与 mini-talent/config/dev.ts 中配置的实际 H5 开发服务器端口一致。

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname 1 dzień temu
rodzic
commit
5c6b798e92
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      web/vite.config.ts

+ 2 - 2
web/vite.config.ts

@@ -30,11 +30,11 @@ export default defineConfig({
         ws: true
       },
       '/talent-mini': {
-        target: 'http://localhost:10088',
+        target: 'http://localhost:10087',
         changeOrigin: true,
       },
       '/talent-mini-ws': {
-        target: 'ws://localhost:10088/ws',
+        target: 'ws://localhost:10087/ws',
         changeOrigin: true,
         rewrite: path => path.replace(/^\/talent-mini-ws/, ''),
         ws: true