|
|
@@ -1,4 +1,4 @@
|
|
|
-import { defineConfig } from 'vite'
|
|
|
+import {defineConfig} from 'vite'
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
import Pages from 'vite-plugin-pages'
|
|
|
import Layouts from 'vite-plugin-vue-layouts'
|
|
|
@@ -57,8 +57,8 @@ export default defineConfig({
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
// 正式环境地址
|
|
|
- target: 'https://dev.wutongresearch.club/api',
|
|
|
- // target: 'https://prod.wutongshucloud.com/api',
|
|
|
+ // target: 'https://dev.wutongresearch.club/api',
|
|
|
+ target: 'https://prod.wutongshucloud.com/api',
|
|
|
// target: 'http://192.168.31.181:8110',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => path.replace(/^\/api/, '')
|