i had the same issue with my own site on github. www redirect caused a 301 redirect and broke cors for me as well. turning off the automatic www redirect seems to have fixed it right away

thanks for finding the fix!

Reply to this note

Please Login to reply.

Discussion

One big happy CORS-issue-free family ๐Ÿ˜† You got it, thanks for confirming Iโ€™m not insane, started questioning my terminal lollllll

i've never used github for hosting. i see a lot of people doing that now. maybe ill do that with a random domain to play around with an application at some point when i have more time.

Cloudflare Pages is easier to setup IMO

Good to know ๐Ÿ‘

yeah i'm just a beginner with some static text so github was the least friction for me

We are all beginners. The levels of the ladder are infinite ๐Ÿ„โ€โ™‚๏ธ๐ŸŒŠ๐Ÿค™