更新 vite.config.js

This commit is contained in:
zhangkaihuai
2024-10-04 10:51:32 +00:00
parent c32232a388
commit 2046b486ee

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",