Merge pull request '更新 vite.config.js' (#132) from zhangkaihuai-patch-1 into test

Reviewed-on: http://git.feashow.cn/feashow/SmartOpsWeb/pulls/132
This commit is contained in:
zhangkaihuai
2024-10-04 10:51:48 +00:00

View File

@@ -77,9 +77,9 @@ export default defineConfig({
// }, // },
"/api": { "/api": {
// target: "http://frp.feashow.cn:31800/", // target: "http://frp.feashow.cn:31800/",
target: "http://112.19.165.99:20002/", target: "http://10.8.105.91:28080/",
changeOrigin: true, changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ""), rewrite: (path) => path.replace(/^\/api/, ""),
}, },
// "/socket": { // "/socket": {
// target: "ws://frp.feashow.cn:8081/ws", // target: "ws://frp.feashow.cn:8081/ws",