Verified Commit 2c9ab7c8 authored by Alex's avatar Alex
Browse files

Gitlab page supports HTTPS redirection, so remove the javascript.

parent 95d448f6
Pipeline #90037996 passed with stages
in 23 seconds
......@@ -20,5 +20,4 @@
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css" />
<script src="/js/main.js"></script>
// JavaScript-based HTTPS redirection because we're running on GitLab's servers.
var host = "";
if ((host == && (window.location.protocol != 'https:')) {
window.location = window.location.toString().replace(/^http:/, "https:");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment