jack-force-https

1.0.1 • Public • Published

jack-force-https

NPM version Downloads

This Jack-Stack Plugin is used to force HTTPS on all requests. Generally you will use this remotely, but not in localhost:

var isDeployed = !!(~['production', 'staging', 'testing'].indexOf(process.env.NODE_ENV));
 
if (isDeployed) {
  jack.add(require('olympus-force-https'));
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    8
  • 1.0.0
    3

Package Sidebar

Install

npm i jack-force-https

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • dncrews