Skip to content

Commit 2f8a498

Browse files
authored
Update ERL redirects to go to mintlify and ESD redirect to go to it's readme for now
2 parents ac4539c + 5cef3ac commit 2f8a498

File tree

14 files changed

+44
-44
lines changed

14 files changed

+44
-44
lines changed

404.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
<noscript>
66
<meta
77
http-equiv="refresh"
8-
content="0; url=https://github.com/express-rate-limit/express-rate-limit"
8+
content="0; url=https://express-rate-limit.mintlify.app/"
99
/>
1010
</noscript>
1111
<script type="text/javascript">
1212
// default redirection target
13-
let target = 'https://github.com/express-rate-limit/express-rate-limit'
13+
let target = 'https://express-rate-limit.mintlify.app/'
1414
// strip the leading and trailing slashes and lowercase
1515
let path = location.pathname.substr(1).toLowerCase();
1616
if (path.endsWith('/')) {
1717
path = path.substring(0, path.length-1)
1818
}
1919
if (path.startsWith('err_erl_') || path.startsWith('wrn_erl_')) {
20-
target += '/wiki/Error-Codes#' + path;
20+
target += 'reference/error-codes#' + path.repaceAll('_', '-');
2121
}
2222
document.addEventListener("DOMContentLoaded", (event) => {
2323
const link = document.getElementById('link');
@@ -31,7 +31,7 @@
3131
If you are not redirected automatically, follow
3232
<a
3333
id="link"
34-
href="https://github.com/express-rate-limit/express-rate-limit"
34+
href="https://express-rate-limit.mintlify.app/"
3535
>
3636
this link
3737
</a>

ERR_ERL_DOUBLE_COUNT/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_double_count"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err_erl_double_count"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_double_count";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err_erl_double_count";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_double_count"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err_erl_double_count"
1919
>
2020
this link
2121
</a>

ERR_ERL_HEADERS_NO_RESET/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_headers_no_reset"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-headers-no-reset"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_headers_no_reset";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-headers-no-reset";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_headers_no_reset"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-headers-no-reset"
1919
>
2020
this link
2121
</a>

ERR_ERL_INVALID_HITS/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_iinvalid_hits"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-iinvalid-hits"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_invalid_hits";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-invalid-hits";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_invalid_hits"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-invalid-hits"
1919
>
2020
this link
2121
</a>

ERR_ERL_INVALID_IP_ADDRESS/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_invalid_ip_address"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-invalid-ip-address"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_invalid_ip_address";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-invalid-ip-address";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_invalid_ip_address"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-invalid-ip-address"
1919
>
2020
this link
2121
</a>

ERR_ERL_PERMISSIVE_TRUST_PROXY/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_permissive_trust_proxy"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-permissive-trust-proxy"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_permissive_trust_proxy";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-permissive-trust-proxy";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_permissive_trust_proxy"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-permissive-trust-proxy"
1919
>
2020
this link
2121
</a>

ERR_ERL_UNDEFINED_IP_ADDRESS/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_undefined_ip_address"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-undefined-ip-address"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_undefined_ip_address";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-undefined-ip-address";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_undefined_ip_address"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-undefined-ip-address"
1919
>
2020
this link
2121
</a>

ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_unexpected_x_forwarded_for"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-unexpected-x-forwarded-for"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_unexpected_x_forwarded_for";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-unexpected-x-forwarded-for";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_unexpected_x_forwarded_for"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-unexpected-x-forwarded-for"
1919
>
2020
this link
2121
</a>

ERR_ERL_UNKNOWN_VALIDATION/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_unknown_validation"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-unknown-validation"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_unknown_validation";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-unknown-validation";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#err_erl_unknown_validation"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-unknown-validation"
1919
>
2020
this link
2121
</a>

WRN_ERL_DEPRECATED_DRAFT_POLLI_HEADERS/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<meta charset="UTF-8" />
55
<meta
66
http-equiv="refresh"
7-
content="0; url=https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#wrn_erl_deprecated_draft_polli_headers"
7+
content="0; url=https://express-rate-limit.mintlify.app/reference/error-codes#wrn-erl-deprecated-draft-polli-headers"
88
/>
99
<script type="text/javascript">
1010
window.location.href =
11-
"https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#wrn_erl_deprecated_draft_polli_headers";
11+
"https://express-rate-limit.mintlify.app/reference/error-codes#wrn-erl-deprecated-draft-polli-headers";
1212
</script>
1313
<title>Page Redirection</title>
1414
</head>
1515
<body>
1616
If you are not redirected automatically, follow
1717
<a
18-
href="https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes#wrn_erl_deprecated_draft_polli_headers"
18+
href="https://express-rate-limit.mintlify.app/reference/error-codes#wrn-erl-deprecated-draft-polli-headers"
1919
>
2020
this link
2121
</a>

0 commit comments

Comments
 (0)