Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JamieS/9521376ce05eb34ee251 to your computer and use it in GitHub Desktop.
Save JamieS/9521376ce05eb34ee251 to your computer and use it in GitHub Desktop.
if (location.protocol !== "https:") {
location.protocol = 'https:';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment