js-force-https-redirect

1.0.2 • Public • Published

js-force-https-redirect

If the webpage is loaded using http, it is redirected using https. This should be done on the server side but in some case it is not possible.

Use this only if you don't have access to the configuration of you web server!

How to: nodejs

npm install js-force-https-redirect then just add require('js-force-https-redirect') and that should work.

How to: browserify

after cloning this repo: browserify index.js > js-force-https-redirect.js

and then in you webpage:

Package Sidebar

Install

npm i js-force-https-redirect

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

1.31 kB

Total Files

3

Last publish

Collaborators

  • pan-pan