Preserve the path name for mirror links
This commit is contained in:
N-Pex 2025-12-22 13:23:43 +01:00
parent f41aec59bb
commit 47ebc55f80
4 changed files with 5 additions and 4 deletions

View file

@ -126,6 +126,7 @@ async function serveOfflinePage() {
};
}
});
if (title) {
text = text.replaceAll(/<!--OFFLINE_TITLE_START-->(.*?)<!--OFFLINE_TITLE_END-->/g, title);
}