Hello everyone,
I’m experiencing an issue with my website hosted on InfinityFree (domain: http://test-shop.infinityfreeapp.com).
Problem Description:
When I try to load the JavaScript (app.js) and CSS (app.css) files, I receive a 404 error. Additionally, I see the following messages in the “Issues” section of my browser console:
- Response was blocked by CORB (Cross-Origin Read Blocking)
- This page failed to load a stylesheet from a URL.
Here are the URLs I’m attempting to access:
http://test-shop.infinityfreeapp.com/static/js/app.jshttp://test-shop.infinityfreeapp.com/static/css/app.css
Actions Taken:
- Verified that the files exist in the specified directories.
- Checked the developer console for any additional errors—none found except for the ones mentioned.
- Cleared my browser cache and tried accessing the page in incognito mode.
- Attempted to modify the file paths by adding a leading slash, but that didn’t resolve the issue.
Despite these efforts, the problem persists.
Questions:
- Why am I receiving a 404 error when trying to load these resources?
- How can I address the CORB blocking and the stylesheet loading issue?
- Are there any specific settings I should adjust to resolve these problems?
Thank you for your help!