sparkbox / apprentices-page

A page that shows past and current apprentices at Sparkbox
https://apprentices.seesparkbox.com/
3 stars 1 forks source link

feat: enable SSL #118

Closed pfulton closed 5 years ago

pfulton commented 5 years ago

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.

pfulton commented 5 years ago

Note: this code is part one of a two-part process. The other part of this will be to configure Heroku to properly serve SSL for the app.

pfulton commented 5 years ago