|
|
@@ -24,8 +24,8 @@ export default defineConfig(({ mode, command }) => {
|
|
|
// open: true,
|
|
|
proxy: {
|
|
|
[env.VITE_APP_BASE_API]: {
|
|
|
- target: 'http://127.0.0.1:8080',
|
|
|
- // target: 'http://www.hoomeng.pet/api',
|
|
|
+ // target: 'http://127.0.0.1:8080',
|
|
|
+ target: 'http://www.hoomeng.pet/api',
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
|