邓洁 : 修改页面细节
This commit is contained in:
@@ -70,43 +70,45 @@ export default defineConfig({
|
||||
open: true,
|
||||
proxy: {
|
||||
// '/api/custom': {
|
||||
// // target: 'http://gateway.feashow.cn',
|
||||
// // target: 'http://web-tunnel.feashow.com/api',
|
||||
// target: 'http://192.168.31.175:8000',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// },
|
||||
// '/api/admin': {
|
||||
// target: 'http://gateway.feashow.cn',
|
||||
// target: 'http://web-tunnel.feashow.com/api',
|
||||
// // target: 'http://192.168.31.175:8000',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// },
|
||||
// '/api/auth': {
|
||||
// target: 'http://gateway.feashow.cn',
|
||||
// target: 'http://web-tunnel.feashow.com/api',
|
||||
// // target: 'http://192.168.31.175:8000',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// },
|
||||
// '/api/log': {
|
||||
// // target: 'http://web-tunnel.feashow.com/api',
|
||||
// target: 'http://192.168.31.175:8000',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// },
|
||||
// '/api/code-gen': {
|
||||
// target: 'http://gateway.feashow.cn',
|
||||
// // target: 'http://192.168.31.175:8000',
|
||||
// // target: 'http://web-tunnel.feashow.com/api',
|
||||
// target: 'http://192.168.31.175:8000',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// },
|
||||
'/api': {
|
||||
// target: 'http://gateway.feashow.cn',
|
||||
target: 'http://192.168.31.175:8000',
|
||||
target: 'http://web-tunnel.feashow.com/api',
|
||||
// target: 'http://192.168.31.175:8000',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
'/socket': {
|
||||
target: 'ws://gateway.feashow.cn/notice-ws/notice',
|
||||
target: 'ws://web-tunnel.feashow.com/api/notice-ws/notice',
|
||||
ws: true
|
||||
}
|
||||
// '/socket': {
|
||||
// target: 'ws://gateway.feashow.cn/notice-ws/notice',
|
||||
// ws: true
|
||||
// }
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user