-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path502.html
34 lines (31 loc) · 812 Bytes
/
502.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #1c1b22;
color: #fbf8fb;
text-align: center;
line-height: 100vh;
}
</style>
<script>
const healthCheck = async () => {
const response = await fetch('/health');
if (response.status === 200) {
window.location.reload();
}
}
setInterval(async () => {
await healthCheck();
}, 5000);
</script>
</head>
<body>
🚧 Deployment in Progress 🚧
</body>
</html>