System Information
- Strapi Version: 4.2.2
- Operating System: NODE-14 alpine - Docker on Heroku
- Database: Postgres Heroku
- Node Version: 14.20.0
- NPM Version: 6.14.17
- Yarn Version: 1.22.19
I’m an old user on a new strapi 4 project.
Still getting:
Content Security Policy: The page’s settings blocked the loading of a resource at hxxp://localhost:1337/admin/project-type (“connect-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at hxxp://localhost:1337/admin/init (“connect-src”).
I tried all major workaround starting from comments of last days on same error on
Strapi ⭐️ V4 with Docker 🐳 and Heroku.
Found same error references in this strapi reported issue from january… with same problem reappearing by some days, as you can check on this link:
https://github.com/strapi/strapi/issues/12129
As in the comments in the heroku tutorial of first link, seems that the issue started again recently.
Tried with npm/yarn/0.0.0.0/127.0.0.1/rebuild admin with npm after installing modules in docker/production in package.json-docker env-heroku env. Maybe some issues on cors configuration wich blocks also local??? Any other idea? I’m trying to redo all app dockerization from scratch with the Heroku/docker node/npm/yarn specific versions, maybe that fix.