|
|
@@ -26,8 +26,8 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
|
|
|
proxy: {
|
|
|
[env.VITE_APP_BASE_API]: {
|
|
|
// target: 'https://www.shuziyunyao.com/dm-api',
|
|
|
- // target: 'http://dm.yujin.shuziyunyao.com/api',
|
|
|
- target: 'http://192.168.1.68:8080',
|
|
|
+ target: 'http://dm.yujin.shuziyunyao.com/api',
|
|
|
+ // target: 'http://192.168.1.68:8080',
|
|
|
changeOrigin: true,
|
|
|
ws: true,
|
|
|
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
|