Перенаправить жёстко
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Временные файлы VIM.
|
||||||
|
*.swp
|
||||||
18
index.html
Normal file
18
index.html
Normal 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
158
метки_1.0.0.html
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user