This commit is contained in:
jhnine 2024-03-12 15:46:27 +08:00
parent 7c476aa436
commit 54e0156be8
1 changed files with 15 additions and 1 deletions

View File

@ -40,9 +40,23 @@ module.exports = {
errors: true
},
proxy: {
'/': {
'^/apis': {
ws: false,
target: 'https://dev.jointcloud.net/',
changeOrigin: true,
secure: false
},
'^/jcc-': {
ws: false,
target: 'https://dev.jointcloud.net/apis',
// target: 'https://jointcloud.net/apis',
changeOrigin: true,
secure: false
},
'^/pcm': {
ws: false,
target: 'https://pcm.jointcloud.net/',
// target: 'https://jointcloud.net/apis',
changeOrigin: true,
secure: false
}