Skip to content

Commit

Permalink
Restoring main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
shech2 committed Dec 25, 2023
1 parent 416f5e1 commit 93532bb
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<title>Terminal 7</title>
<!-- Cache control meta tags -->
<meta http-equiv="Cache-Control" content="public, max-age=86400" />
<meta http-equiv="Expires" content="" id="expires-date" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no" />
<meta name="description" content="A touchable terminal multiplexer & emulator running over WebRTC">
<link rel="icon" href="/logo.svg" type="image/svg+xml">
Expand All @@ -16,18 +15,7 @@
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-title" content="Terminal7" />
<meta name="apple-mobile-web-app-capable" content="yes" />

<script>
// Calculate expiration date (current date + 24 hours)
var expirationDate = new Date();
expirationDate.setTime(expirationDate.getTime() + (24 * 60 * 60 * 1000));

// Format the date as required by the Expires meta tag
var formattedExpirationDate = expirationDate.toUTCString();

// Set the Expires meta tag content
document.getElementById("expires-date").content = formattedExpirationDate;
</script>
<script type="module" src="/main.ts"></script>

</head>
<body>
Expand Down

0 comments on commit 93532bb

Please sign in to comment.