fix : 修复细节

This commit is contained in:
2024-06-05 22:57:04 +08:00
parent 2e86683f41
commit 1c204b39df

View File

@@ -68,14 +68,14 @@ export default defineConfig({
strictPort: false,
open: true,
proxy: {
'/api/workflow': {
// '/api/workflow': {
// target: 'http://frp.feashow.cn:31800/',
target: 'http://clay.frp.feashow.cn/',
// target: 'http://192.168.31.175:8000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
// '/summary/admin': {
// // target: 'http://clay.frp.feashow.cn/',
// // target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, '')
// },
// '/api/admin': {
// // target: 'http://frp.feashow.cn:31800/',
// target: 'http://clay.frp.feashow.cn/',
// // target: 'http://192.168.31.175:8000',
@@ -84,7 +84,9 @@ export default defineConfig({
// },
'/api': {
target: 'http://mosr.feashow.cn',
// target: 'http://clay.frp.feashow.cn/',
changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, '')
},
// '/summary/notice-ws': {
// target: 'ws://mosr.feashow.cn/summary/notice-ws',