|
@@ -5,9 +5,9 @@ import legacy from '@vitejs/plugin-legacy'
|
|
|
import vue2 from '@vitejs/plugin-vue2'
|
|
|
import { ViteEjsPlugin } from 'vite-plugin-ejs'
|
|
|
import { viteExternalsPlugin } from 'vite-plugin-externals'
|
|
|
-import { getProxyOfDomain } from './config/proxy'
|
|
|
import { legacyQiankun } from 'vite-plugin-legacy-qiankun'
|
|
|
import eslintPlugin from 'vite-plugin-eslint'
|
|
|
+import { useServerProxy } from '../../configs/proxy/dev-proxy'
|
|
|
|
|
|
const baseCDN = {
|
|
|
css: [],
|
|
@@ -116,7 +116,7 @@ export default defineConfig(({ mode }) => {
|
|
|
},
|
|
|
server: {
|
|
|
port: 8082,
|
|
|
- proxy: getProxyOfDomain('https://www.jianyu360.cn')
|
|
|
+ proxy: useServerProxy('web')
|
|
|
}
|
|
|
}
|
|
|
})
|