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 - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -