Browse Source
Merge pull request #253 from colinin/4.3
fix vue.config server address
pull/274/head
cKey
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
vueJs/vue.config.js
|
|
|
@ -24,7 +24,7 @@ module.exports = { |
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
|
[process.env.VUE_APP_BASE_IDENTITY_SERVER]: { |
|
|
|
// IdentityServer4 address
|
|
|
|
target: 'http://10.21.15.28:44385', |
|
|
|
target: 'http://127.0.0.1:44385', |
|
|
|
changeOrigin: true, |
|
|
|
pathRewrite: { |
|
|
|
['^' + process.env.VUE_APP_BASE_IDENTITY_SERVER]: '' |
|
|
|
@ -32,7 +32,7 @@ module.exports = { |
|
|
|
}, |
|
|
|
[process.env.VUE_APP_SIGNALR_SERVER]: { |
|
|
|
// api gateway address websocket protocol
|
|
|
|
target: 'ws://10.21.15.28:30000', |
|
|
|
target: 'ws://127.0.0.1:30000', |
|
|
|
changeOrigin: true, |
|
|
|
pathRewrite: { |
|
|
|
['^' + process.env.VUE_APP_SIGNALR_SERVER]: '' |
|
|
|
@ -41,7 +41,7 @@ module.exports = { |
|
|
|
}, |
|
|
|
[process.env.VUE_APP_BASE_API]: { |
|
|
|
// api gateway address
|
|
|
|
target: 'http://10.21.15.28:30000', |
|
|
|
target: 'http://127.0.0.1:30000', |
|
|
|
changeOrigin: true, |
|
|
|
pathRewrite: { |
|
|
|
['^' + process.env.VUE_APP_BASE_API]: '' |
|
|
|
|