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'));
}

/jack-force-https/

    Package Sidebar

    Install

    npm i jack-force-https

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • dncrews