CORS error?

Why is this happening?

Access to script at ‘https://infinityfree.net/errors/404/’ (redirected from ‘supposed_to_be_a_link’) from origin ‘http://www.scottonanski.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

(other information and details relevant to your question)

Welcome

The URL http://www.scottonanski.com returns no warnings or errors at all. What is the exact URL where you are experiencing this issue?

Also, what do you mean by ‘supposed_to_be_a_link’ ?

3 Likes

the issue is with http://www.scottonanski.com/vite

And it’s giving me CORS errors.

“supposed to be a link” I put in there because I’m a free user and limited to two links in my messages.

That’s because all of the pages resources are missing (They do not exist on the server).

Make sure you have uploaded these files, and that they are in the correct location.

5 Likes

They’re all there, and in the right locations.

scottonanski.com/vite/

And I’m still getting errors.

You are calling files under the /assets directory, which does not exist.
Make sure your files are uploaded on the server and also make sure you are calling the right directory.

4 Likes

Oh my goodness. I’m such an idiot. lol

My folder was named “assests”… I think my bundler did that.

Thank you for bringing that to my attention.

I’m going to wipe this egg off my face.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.