Chat Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining MelonLand?
May 14, 2026 - @676.75 (what is this?)
Activity rating: Four Stars Posts & Arts: 67/1k.beats Random | Recent Posts | Guild Recents
News: :4u: ~~~~~~~~~~~  :4u: Guild Events: Spring Themed Projects

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


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

⛺︎ My Room

Artifacts:
Joined 2024!
« on: February 10, 2024 @919.92 » 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:
old-timey tunes~♪Flinstone VitaminAlways working hard!PoochKnown Apple shillcoolest melon on the web!
« Reply #1 on: February 10, 2024 @937.25 » 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: February 10, 2024 @941.31 by Melooon » Logged


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

Artifact Swap: Cup o' JaneI met Dan Q on Melonland!poochLasagna
ohyeahsure
Newbie ⚓︎
*
View Profile WWW

⛺︎ My Room

Artifacts:
Joined 2024!
« Reply #2 on: February 11, 2024 @761.38 » 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 ~ 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 Nav

@000

Want to Login or Join ?

Minecraft: Online
Join: craft.melonking.net