|
@@ -52,7 +52,8 @@ export default defineConfig(({ mode, command }) => {
|
|
|
'src/ui/index.js': [
|
|
|
'src/ui/checkbox-group/index.vue',
|
|
|
'src/ui/history-list/index.vue'
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ 'pdf': ['pdfjs-dist'],
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -128,22 +129,22 @@ export default defineConfig(({ mode, command }) => {
|
|
|
proxy: {
|
|
|
// 接口解密iframe
|
|
|
'^/page_decrypt': {
|
|
|
- target: 'https://jybx2-webtest.jydev.jianyu360.com',
|
|
|
+ target: 'https://jybx-webtest.jydev.jianyu360.com',
|
|
|
changeOrigin: true
|
|
|
},
|
|
|
'/jyapi': {
|
|
|
- target: 'https://jybx2-webtest.jydev.jianyu360.com',
|
|
|
+ target: 'https://jybx-webtest.jydev.jianyu360.com',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => path.replace(/^\/jyapi/, '')
|
|
|
},
|
|
|
'/api': {
|
|
|
- target: 'https://jybx2-webtest.jydev.jianyu360.com',
|
|
|
+ target: 'https://jybx-webtest.jydev.jianyu360.com',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => path.replace(/^\/api/, '')
|
|
|
},
|
|
|
- '/aiChat': 'https://jybx2-webtest.jydev.jianyu360.com',
|
|
|
- '/commonFunctions': 'https://jybx2-webtest.jydev.jianyu360.com',
|
|
|
- '/common-module': 'https://jybx2-webtest.jydev.jianyu360.com'
|
|
|
+ '/aiChat': 'https://jybx-webtest.jydev.jianyu360.com',
|
|
|
+ '/commonFunctions': 'https://jybx-webtest.jydev.jianyu360.com',
|
|
|
+ '/common-module': 'https://jybx-webtest.jydev.jianyu360.com'
|
|
|
}
|
|
|
}
|
|
|
}
|