Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 2.21 KB

File metadata and controls

21 lines (17 loc) · 2.21 KB

Protocol Redirect

Use JS to change the URL protocol from http to https.


Build Status dependencies Status npm npm GitHub top language GitHub Repo stars

How To Use - Download

Just add a script tag in your head pointing the file, you can use the jsdelivr CDN.

<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>

How To Use - Quick Start

When the file runs, it checks if you are in http, if not, It will redirect you to the same page, but in https. Don't worry, if you are in localhost or 127.0.0.1 this will not do anything.