Gitlab Pages - Blocked by CORS policy: No "access-Control-Allow-Origin" Error 404 #3791
Unanswered
MagnusOshaugPedersen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Gitlab Pages - Blocked by CORS policy: No "access-Control-Allow-Origin" - Error 404
I run Vitepress in Gitlab pages, and occasionally encounter a 404-error. However, simply refreshing the page resolves the issue, restoring normal functionality. When this error occurs, I also receive the following message in the console:
'"has been blocked by CORS policy: "No "Access-Control-Allow-Origin"
What I find particularly weird, is that this issue only occurs intermittently. It seems to occur after a period of inactivity on the website.
Could this be a configuration error on my part? I've followed the Vitepress documentation meticulously. Or is this issue originating from Gitlab Pages?"
Has anyone experienced a similar issue and found a fix?
Beta Was this translation helpful? Give feedback.
All reactions