add code
This commit is contained in:
parent
fdcd6f25f6
commit
6a5bfb80f6
789
src/App.vue
789
src/App.vue
File diff suppressed because it is too large
Load Diff
|
@ -18,8 +18,8 @@ export default defineConfig({
|
||||||
// 在此处编写代理规则
|
// 在此处编写代理规则
|
||||||
'/api': {
|
'/api': {
|
||||||
secure: false,
|
secure: false,
|
||||||
//target: 'https://192.168.3.198',
|
target: 'https://test.yqt.com',
|
||||||
target: 'https://c.apxly.com',
|
//target: 'https://c.apxly.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => {
|
rewrite: (path) => {
|
||||||
return path.replace(/\/api/, '')
|
return path.replace(/\/api/, '')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user