'Resources loading over https connection
I have a nodejs app and i works fine in my local machine. But as soon as i deploy it on my development server(over http) it fails to reload resources as its trying to load resources over https connection.
Is there any way to force browser to load resources over http instead of https?
Edit: http://18.188.5.74:5000/ this is the link where the problem arises, you can see errors in console
Update: The problem was with default CSP. After setting custom CSP with resp.set() method of express I was able to overcome this issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|