Skip to content

Commit

Permalink
feat(helm): Adds 2 hour cache limit to 503 page
Browse files Browse the repository at this point in the history
Closes #407
  • Loading branch information
vchendrix committed Oct 3, 2023
1 parent 1c4112e commit 577a6c5
Showing 1 changed file with 37 additions and 17 deletions.
54 changes: 37 additions & 17 deletions helm/config/error503.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<title>NGEE-Tropics Archive Service -- Down For Maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
h1 { font-size: 50px; }
body { text-align:center; font: 20px Helvetica, sans-serif; color: #333; }
#email { color:darkgreen;font-weight:bold }
</style>
</head>
<body>
<h1> NGEE-Tropics Data Service</h1>
<h2>Down For Maintenance</h2>
<p>Sorry for the inconvenience, but we are performing a maintenance at the moment.</p>
<p>We will be back online shortly!</p>
<p>For questions contact:
<span style="color:darkgreen;font-style:italic">
<head>

<title>NGEE-Tropics Archive Service -- Down For Maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
let dt = new Date();
dt.setHours(dt.getHours() + 2);
var link = document.createElement('meta');
link.setAttribute('name', 'expires');
link.content = dt.toLocaleTimeString();
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<style>
h1 {
font-size: 50px;
}

body {
text-align: center;
font: 20px Helvetica, sans-serif;
color: #333;
}

#email {
color: darkgreen;
font-weight: bold
}
</style>
</head>
<body>
<h1> NGEE-Tropics Data Service</h1>
<h2>Down For Maintenance</h2>
<p>Sorry for the inconvenience, but we are performing a maintenance at te moment.</p>
<p>We will be back online shortly!</p>
<p>For questions contact:
<span style="color:darkgreen;font-style:italic">
<span id="email">ngee-tropics-archive</span> at
<span id="email">lbl</span> dot
<span id="email">gov</span>
</span></p>
</body>
</body>
</html>

0 comments on commit 577a6c5

Please sign in to comment.