Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @49.85
Activity rating: Three Stars Posts & Arts: 44/1k.beats ~ Boop! The forum will close in 951.beats! Random | Recent Posts | Guild Recents
News: ozwomp is requesting your location :ozwomp: [Agree] Guild Events: There are no events!

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


« previous next »
Pages: [1] Print Embed
Author Topic: CORS issues  (Read 1422 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:
Bug!You're a Star!Flinstone VitaminI got robbed by Dan Q on Melonland!Always working hard!Known Apple shill
« 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: Red TulipLurbyPlank
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
@000 MelonLand Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap!
Minecraft: Online
Join: craft.melonking.net