Del redirect

This commit is contained in:
Severin 2024-04-02 23:21:08 +02:00
parent 943ed05bf4
commit daef8d192f

View file

@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<script>
pattern = /^https?:\/\/[\w-\.]+\.github\.io\/[\w-\.]+\/?$/
if (pattern.test(window.location.href)) {
window.location.href = window.location.href + "book/";
}
</script>
</body>
</html>