1
0

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

Esse commit está contido em:
2019-09-02 15:17:47 +03:00
commit 88952880c2
3 arquivos alterados com 178 adições e 0 exclusões

2
.gitignore externo Arquivo normal
Ver arquivo

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

18
index.html Arquivo normal
Ver arquivo

@@ -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 Arquivo normal

Diff do arquivo suprimido porque uma ou mais linhas são muito longas