8878ce69 by zhangmeng

票务修改

1 parent 61918207
...@@ -64,26 +64,28 @@ export default defineConfig(({ mode, command }) => { ...@@ -64,26 +64,28 @@ export default defineConfig(({ mode, command }) => {
64 proxy: { 64 proxy: {
65 // https://cn.vitejs.dev/config/#server-proxy 65 // https://cn.vitejs.dev/config/#server-proxy
66 '/dev-api/ztx-train': { 66 '/dev-api/ztx-train': {
67 target: 'http://192.168.1.118:1896/stage-api', 67 // target: 'http://192.168.1.118:1896/stage-api',
68 // target: 'https://jijin.wtwuxicenter.com/stage-api', 68 target: 'https://jijin.wtwuxicenter.com/stage-api',
69 changeOrigin: true, 69 changeOrigin: true,
70 rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '') 70 rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '')
71 }, 71 },
72 '/dev-api/ztx-match': { 72 '/dev-api/ztx-match': {
73 target: 'http://192.168.1.118:8081', 73 // target: 'http://192.168.1.118:8081',
74 target: 'https://jijin.wtwuxicenter.com/stage-api',
74 // target: 'https://wdsfwuxicenter.com/stage-api/', 75 // target: 'https://wdsfwuxicenter.com/stage-api/',
75 changeOrigin: true, 76 changeOrigin: true,
76 rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') 77 rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '')
77 }, 78 },
78 '/dev-api/ztx-webSite': { 79 '/dev-api/ztx-webSite': {
79 target: 'http://192.168.1.118:8081', 80 // target: 'http://192.168.1.118:8081',
81 target: 'https://jijin.wtwuxicenter.com/stage-api',
80 changeOrigin: true, 82 changeOrigin: true,
81 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') 83 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
82 }, 84 },
83 '/dev-api': { 85 '/dev-api': {
84 // target: 'http://192.168.1.118:8081/', 86 // target: 'http://192.168.1.118:8081/',
85 target: 'http://192.168.1.118:8081', 87 // target: 'http://192.168.1.118:8081',
86 // target: 'https://jijin.wtwuxicenter.com/stage-api', 88 target: 'https://jijin.wtwuxicenter.com/stage-api',
87 // target: 'https://wdsfwuxicenter.com/stage-api/', 89 // target: 'https://wdsfwuxicenter.com/stage-api/',
88 changeOrigin: true, 90 changeOrigin: true,
89 rewrite: (p) => p.replace(/^\/dev-api/, '') 91 rewrite: (p) => p.replace(/^\/dev-api/, '')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!