node.js - Heroku and Nodejs: How to server static files(css and js over) https connection? -


when run app locally(on localhost) goes expected, when create git , publish heroku , access browser see html file , css , js not loaded. console says:

that html loaded on https , requesed static files 'insecure script' , blocked!

which means cannot serve static files on https. supposing have pretty basic node , epxress setup wrong, or should change?


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -