|
|
@@ -134,9 +134,10 @@ export default defineConfig(({ mode, command }) => {
|
|
|
https: env.VITE_APP_HTTPS === "true" ? { cert: undefined, key: undefined } : undefined,
|
|
|
proxy: {
|
|
|
[env.VITE_APP_BASE_API]: {
|
|
|
- target: "http://localhost:6071",
|
|
|
+ // target: "http://localhost:6071",
|
|
|
// target: env.VITE_APP_PROXY_URL,
|
|
|
// target: "http://192.168.0.104:6080",
|
|
|
+ target: "http://shvber.com:5281",
|
|
|
changeOrigin: true,
|
|
|
rewrite: (path) => path.replace(new RegExp("^" + env.VITE_APP_BASE_API), "")
|
|
|
}
|