-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content Security Policy (CSP) blocks icons #276
Comments
Install and save |
// enabling CORS for all requests already using it |
In the <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src *;" |
still not resolved using |
Upload your code to a GitHub repo and share the link here. It will be much easier to debug :) |
https://github.com/rahulsain/backend will send you collab access, file is in frontend folder, npm version 14.0.0 |
Just a random guess. Putting the Screenshot_20230716_142936_Chrome.jpg As in the screenshot attached, the browser is not able to detect any other sources of You may use this tool to evaluate your CSP. |
same issue |
@rahulsain, I have tried it on my codespace, and its working like a charm. After a bit of tweaking, I've found that the problem is actually with the build process of your repository. It does not build the frontend, that's why the changes in the You may add a Github action that is triggered on push to
It will prepare a fresh build of the frontend on each push, ensuring that the latest changes are being reflected. If you'd like to test it on your machine then just You should close this issue now as this is not related to the project. |
all these url are blocked on this site
I want to enable csp for these site
using express at server end to display build/index.js file
The text was updated successfully, but these errors were encountered: