Перенаправить жёстко

This commit is contained in:
2019-09-02 15:17:47 +03:00
commit 88952880c2
3 changed files with 178 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
# Временные файлы VIM.
*.swp

18
index.html Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Перенаправление / Redirection</title>
</head>
<body>
<script>
const база = етки_1.0.0.html";
const запрос = window.location.search.substring(1);
var адрес = база;
if (запрос.length)
{
адрес += "?" + запрос;
}
window.location.href = адрес;
</script>
</body>
</html>

158
метки_1.0.0.html Normal file

File diff suppressed because one or more lines are too long