Tuesday, 25 April 2017

Node js project firefox issue

I am running a project of nodejs in amazon linux ami. The project is showing fine in chrome and safari. But in "Mozilla firefox" the project is broken.What I found css and javascript file can not be connected for "https" issue;It's showing in console "Content Security Policy: Upgrading insecure request ‘http://52.43.225.170:8000/tacticalsales/assets/css/style.css’ to use ‘https’".same for "js".

I hardcoded the js and css link file with "http" But it didn't work.

I am confused is it a browser issue,project configuration issue or server issue and how can I fix it?



via Shawon Morshed

No comments:

Post a Comment