[openstreetmap/openstreetmap-website] Switch to shortbread style with absolute URLs (PR #6595)
Paul Norman
notifications at github.com
Tue Dec 9 07:52:42 UTC 2025
pnorman left a comment (openstreetmap/openstreetmap-website#6595)
> But what looks like exactly the same request works fine for me without this PR merged? I don't understand why or how the server behaviour changes because of a client change that seems to have no effect on the request that is sent to the server?
The requests shouldn't be the same. Current requests should be to a path in `/demo/shortbread` and this PR changes them to `/styles/shortbread`
> Does not having the callback cause maplibre to change the way it makes the request so that it now requires CORS when it didn't before or something?
No, CORS has always been required. /demo was set with a CORS policy of allowing * while we figured it out.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6595#issuecomment-3630847562
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6595/c3630847562 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251208/7e362fa4/attachment.htm>
More information about the rails-dev
mailing list