mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Move to docs subdomain
This commit is contained in:
parent
d531805597
commit
15f4808fec
2
docs/_templates/layout.html
vendored
2
docs/_templates/layout.html
vendored
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
const path = (RTD_TO_MKD[window.location.pathname.substring(window.location.pathname.lastIndexOf("/") + 1)] ?? "") + "/";
|
const path = (RTD_TO_MKD[window.location.pathname.substring(window.location.pathname.lastIndexOf("/") + 1)] ?? "") + "/";
|
||||||
const hash = window.location.hash;
|
const hash = window.location.hash;
|
||||||
const redirectURL = new URL(path + hash, "https://paperless-ngx.com/");
|
const redirectURL = new URL(path + hash, "https://docs.paperless-ngx.com/");
|
||||||
console.log(`Redirecting to ${redirectURL} in 3 seconds...`);
|
console.log(`Redirecting to ${redirectURL} in 3 seconds...`);
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user