mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 23:40:28 +05:30
Fix proxy settings to be able to proxy to dev.account
This commit is contained in:
parent
23a747e50a
commit
c55c0ce9c7
@ -1,3 +1,3 @@
|
||||
{
|
||||
"apiHost": "http://account.l"
|
||||
"apiHost": "https://dev.account.ely.by"
|
||||
}
|
||||
|
@ -254,11 +254,9 @@ if (!isProduction && !isTest) {
|
||||
host: 'localhost',
|
||||
port: 8080,
|
||||
proxy: {
|
||||
'/api*': {
|
||||
headers: {
|
||||
host: config.apiHost.replace(/https?:|\//g, '')
|
||||
},
|
||||
target: config.apiHost
|
||||
'/api': {
|
||||
target: config.apiHost,
|
||||
changeOrigin: true // add host http-header, based on target
|
||||
}
|
||||
},
|
||||
hot: true,
|
||||
|
Loading…
Reference in New Issue
Block a user