Allow local dev against gleasonator.com
This commit is contained in:
parent
80a78ac0e1
commit
c0dc4a69cd
1 changed files with 2 additions and 0 deletions
|
@ -29,11 +29,13 @@ const makeProxyConfig = () => {
|
|||
proxyConfig['/api/patron'] = {
|
||||
target: patronUrl,
|
||||
secure: secureProxy,
|
||||
changeOrigin: true,
|
||||
};
|
||||
backendEndpoints.map(endpoint => {
|
||||
proxyConfig[endpoint] = {
|
||||
target: backendUrl,
|
||||
secure: secureProxy,
|
||||
changeOrigin: true,
|
||||
};
|
||||
});
|
||||
return proxyConfig;
|
||||
|
|
Loading…
Reference in a new issue