更新 vite.config.js
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user