This prepares the site for enabling SSL via the express-enforces-ssl module.
It adds the module as a dependency, and it writes JS to check for the existence of an ENFORCE_SSL environment variable. When the variable is found, it will force the app to use SSL.
This prepares the site for enabling SSL via the
express-enforces-ssl
module. It adds the module as a dependency, and it writes JS to check for the existence of anENFORCE_SSL
environment variable. When the variable is found, it will force the app to use SSL.