Surfer and CORS
-
Looked in docs but don't see the info.
Where do I enable CORS for a Surfer hosted page ?
In the hosted page headers ?
Any specs / guidance ?Can't see anything in admin settings for the app.
-
-
AFAIK, CORS is already enabled for all domains. Why do you think it's not? @nebulon can confirm.
-
The page I am hosting in Surfer generates errors in browser dev tools.
Oh, doh !
Is it the linked page site that needs CORS enabling, not Surfer ?Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api-service.lowcoder.domain.tld/api/v1/applications/undefined/view. (Reason: CORS request did not succeed). Status code: (null).
-
@timconsidine that's correct. it's the linked page that needs CORS configuration, not surfer.
-
Thank you and sorry for disturbing you.
Maybe I need to go lie down in a dark room -
-
@timconsidine Maybe bring a Coors in with you.
-
@scooke said in Surfer and CORS:
@timconsidine Maybe bring a Coors in with you.
Great idea. Why didn’t I think of that
-
Thanks for teaching me something new I've never heard of Coors (and never drank one. Is it good?).
https://www.molsoncoors.com/brands/our-brands/coors-original?region=931 -
I still have this road bike - Coors had sponsored a US road bike team and Serotta made beautiful bicycles back then….
https://www.rennrad-news.de/news/renner-der-woche-serotta-team-coors-light-stahlklassiker/ (German, but the pictures speak for themselves) -
@necrevistonnezr THAT is pretty cool. I need to hit those hills more.