Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Does anybody know how to enable cross-origin requests in a surface controller?
Setting the "Access-Control-Allow-Origin" header appears to have no effect, perhaps Umbraco is overriding this somewhere?
Thanks in advance.
Have you tried route hijacking? I.E before the page is rendered? It was just an idea. Charlie :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
CORS in a Surface Controller?
Does anybody know how to enable cross-origin requests in a surface controller?
Setting the "Access-Control-Allow-Origin" header appears to have no effect, perhaps Umbraco is overriding this somewhere?
Thanks in advance.
Have you tried route hijacking? I.E before the page is rendered? It was just an idea. Charlie :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.