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'] = {
|
proxyConfig['/api/patron'] = {
|
||||||
target: patronUrl,
|
target: patronUrl,
|
||||||
secure: secureProxy,
|
secure: secureProxy,
|
||||||
|
changeOrigin: true,
|
||||||
};
|
};
|
||||||
backendEndpoints.map(endpoint => {
|
backendEndpoints.map(endpoint => {
|
||||||
proxyConfig[endpoint] = {
|
proxyConfig[endpoint] = {
|
||||||
target: backendUrl,
|
target: backendUrl,
|
||||||
secure: secureProxy,
|
secure: secureProxy,
|
||||||
|
changeOrigin: true,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
return proxyConfig;
|
return proxyConfig;
|
||||||
|
|
Loading…
Reference in a new issue