Skip to content

Commit ea2b539

Browse files
authored
Merge pull request #6 from co-cddo/improved-index
Update index.html to redirect faster and prevent flashing due to dark mode
2 parents 1c73581 + 755ad7f commit ea2b539

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

index.html

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
<meta http-equiv="Refresh" content="0; url='/.well-known/mta-sts.txt'" />
2-
<a href="/.well-known/mta-sts.txt">/.well-known/mta-sts.txt</a>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<script>
5+
window.location.href = "/.well-known/mta-sts.txt";
6+
</script>
7+
<meta http-equiv="Refresh" content="0; url='/.well-known/mta-sts.txt'" />
8+
<style>
9+
body { background-color: #f0f0f0; color: #333; }
10+
@media (prefers-color-scheme: dark) {
11+
body { background-color: #121212; color: #f0f0f0; }
12+
a { color: #fff }
13+
}
14+
</style>
15+
</head>
16+
<body>
17+
<a href="/.well-known/mta-sts.txt">/.well-known/mta-sts.txt</a>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)