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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -