Skip to content

Commit

Permalink
Require an HTTPS connection
Browse files Browse the repository at this point in the history
Closes #16.
  • Loading branch information
waldoj committed Nov 11, 2015
1 parent 21abb02 commit e5473c3
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/datasets/datasets.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/AddressPoints.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/Checkbook.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/Companies.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/Incarceration.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/Legislation.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/PopulationProjections.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/RealEstate.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/RestaurantInspections.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/datatype/VehicleCrashes.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down
5 changes: 5 additions & 0 deletions public/grid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var host = "census.usopendata.org";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
</head>

<body>
Expand Down

0 comments on commit e5473c3

Please sign in to comment.