邓洁 : 修改页面细节

This commit is contained in:
邓洁
2023-11-05 01:55:02 +08:00
parent d11d398b53
commit 30ba4268be
19 changed files with 98 additions and 296 deletions

View File

@@ -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
// }
}
}
})