Open dewdad opened 10 years ago
Hi @randelic,
It seems you also work in SAP as we suffered the same problem of Same-Origin-Policy and corporate proxy for UI5 with OData service.
The author of this grunt plugin seems not have time to work it out. So have you found any other solution for this problem?
Thanks, Roger
When I'm out of the office, I use the following config;
proxies: [{ context: '/V2', host: "services.odata.org", changeOrigin: true }]
And it works. In my office I have proxy, {host: "proxy.location.company.corp", port: 8080}.
I tried this: proxies: [ { context: '/v2', host: 'proxy.location.company.corp', port: 8080, // proxy port headers: { Host: "services.odata.org" }, changeOrigin: true } ]
with no luck however.
How can I configure this to work when in the office.
Thank you