Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @826.41 (what is this?)
Activity rating: Three Stars Posts & Arts: 48/1k.beats Random | Recent Posts | Guild Recents
News: :skull: Websites are like whispers in the night  :skull: Guild Events: Summer Projects

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  CORS issues


« previous next »
Pages: [1] Print Embed
Author Topic: CORS issues  (Read 1374 times)
ohyeahsure
Newbie ⚓︎
*
View Profile WWW

⛺︎ My Room

Artifacts:
Joined 2024!
« on: a Winter night » Embed

I'm having some CORS issues on my website. I'm trying to access my site stats from a certain website. I keep on getting this strange CORS issue. I've tried changing the meta headers but nothing seems to work, and since I just started my website it should. Here's my website. https://undelined.neocities.org/home/. Here's the relevant javascript code that modifies the box on the page. https://github.com/leocabbage2008/undelined/blob/master/dist/js/index.js. The actual relevant code should start on line 21. Thank you so much!
Logged
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
I got robbed by Dan Q on Melonland!Flinstone VitaminAlways working hard!Known Apple shillcoolest melon on the web!Emergency feel-good tea
« Reply #1 on: a Winter night » Embed

The CORS issue seems to be with "https://weirdscifi.ratiosemper.com", you're trying to load remote content from it, but it does not allow people to do so. Sooo however runs that site needs to go into their web server settings (Ushualy Nginx or Apache) and enable the correct CORS headers ^^

EDIT:
OR possibly it's to do with free neocities accounts! The error mentions "connect-src" and that's specifically listed as a Supporter-only feature on their features list: https://neocities.org/supporter  :omg:
« Last Edit: a Winter night by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: UnpleasantWildflowers!seahorseybitsy catSquidwardRed TulipMellohiHelp, my tail is stuck!cyberziI met Dan Q on Melonland!?Stinky CheeseFlowersPlank
ohyeahsure
Newbie ⚓︎
*
View Profile WWW

⛺︎ My Room

Artifacts:
Joined 2024!
« Reply #2 on: a Winter day » Embed

I think it does seem to be an issue with supporter accounts :ohdear:
It doesn't work on new websites which is why I'm assuming that, thanks anyways!
Logged
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
MelonLand @000

Minecraft: Online
Join: craft.melonking.net