generated from template/astro-template
fix: config
This commit is contained in:
parent
26be3b85e8
commit
60ea5abe45
@ -16,10 +16,12 @@ let target = process.env.VITE_API_URL || 'https://localhost:51015';
|
||||
const apiProxy = { target: target, changeOrigin: true, ws: true, rewriteWsOrigin: true, secure: false, cookieDomainRewrite: 'localhost' };
|
||||
let proxy = {
|
||||
'/root/center/': {
|
||||
target: `${target}/root/center/`,
|
||||
target: `${target}`,
|
||||
secure: false,
|
||||
},
|
||||
'/user/login/': {
|
||||
target: `${target}/user/login/`,
|
||||
target: `${target}`,
|
||||
secure: false,
|
||||
},
|
||||
'/api': apiProxy,
|
||||
'/client': apiProxy,
|
||||
|
Loading…
x
Reference in New Issue
Block a user