rgrove / rawgit

Served files from raw.githubusercontent.com, but with the correct content types. No longer actively developed.
https://rawgit.com
MIT License
2.39k stars 488 forks source link

CORS error: (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘*, *’) #207

Closed M0hammedImran closed 2 years ago

M0hammedImran commented 2 years ago

I get this when ever I try to use it. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘*, *’)

This is the URL: https://cdn.githubraw.com/M0hammedImran/test-deploy/main/protoezy.bundled.js

neoascetic commented 2 years ago

This is time to disable issues I guess

Mister-Hope commented 2 years ago

@rgrove Why is this invalid?

image

A resource is not supposed to return a dumplicate header?

jimaek commented 2 years ago

githubraw.com is not rawgit.com

Wrong repo

Mister-Hope commented 2 years ago

image

So you are saying that githubraw.com is not related to this project? I do saw rawgit say it's down at https://rawgit.com/

If so, and githubraw.com reference this repo by its own, maybe maintainers should add some warnings in these links saying that this project is down and no longer get maintainance, and githubraw is not related to this project.

I don't think users like me should know this because it's really confusing, and since the above do is an issue, we probably will open an issue for support here.

If the project is already abandoned, please close issue panel and make a clear announcement at README. That do save people's time.

jimaek commented 2 years ago

So you are saying that githubraw.com is not related to this project? I do saw rawgit say it's down at https://rawgit.com/

exactly. Just because they say rawgit it doesnt mean the rawgit owners have nothing to do with that project. Its unrelated and nobody in this repo can help.

If you want a better CDN consider using jsDelivr https://cdn.jsdelivr.net/gh/vuepress-theme-hope/vuepress-theme-hope/packages/theme/templates/giscus/light.css

Mister-Hope commented 2 years ago

If the project is already abandoned, please close issue panel and make a clear announcement at README. That do save people's time.

Can this action being considered?

jimaek commented 2 years ago

The about in Github has "No longer actively developed." and the main website says "RawGit has reached the end of its useful life".

Mister-Hope commented 2 years ago

TBH, I really missed the first one because it's on the right side with PC, but I catch the second one though after your reminder.

I think adding this at the start of the README will be better. Because I do think that rawgit.com is the website I came from before starting to search related issues.

rgrove commented 2 years ago

a191bd9bc11aff7fabf05aea34eab3f8e64bc307