Skip to content

Commit

Permalink
no mo reinfint loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinServer authored May 5, 2024
1 parent 0f7f452 commit d17ce0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions downtimes.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
// this will automically direct you to https you unsecure bitch
<meta http-equiv="refresh" content="0; url=https://reinserver.com/downtimes.html">
<title>ReinServer | Downtimes</title>
<link rel="icon" href="reinserver.github.io/reinserver.ico" type="image/x-icon">
<style>
Expand Down Expand Up @@ -48,6 +46,10 @@
<button class="button" onclick="goback()">go back</button>

<script>
if (window.location.protocol === 'http:') {
// Redirect to HTTPS
window.location.href = 'https://reinserver.com';
}
function goback() {
window.location.href = 'index.html';
}
Expand Down

0 comments on commit d17ce0e

Please sign in to comment.