Skip to content

Commit

Permalink
Force homepage traffic to SSL
Browse files Browse the repository at this point in the history
Closes #13.
  • Loading branch information
waldoj committed Aug 22, 2014
1 parent cc7deac commit 4e4765a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
</head>

<body>
<script>
var host = "usodi.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
<!-- START: Site Header -->
<div class="main-nav">
<div class="row navbar">
Expand Down

0 comments on commit 4e4765a

Please sign in to comment.