fix: remove unsupported legacy redirects

This commit is contained in:
KoalaDev
2026-07-28 07:35:46 +02:00
parent 2c5e2a7cc3
commit ffd629a522
4 changed files with 0 additions and 23 deletions
-5
View File
@@ -183,11 +183,6 @@ for (const value of requiredSelfHostingValues) {
if ((selfHostingExamples.match(/localhost:3000/g) || []).length !== 2 || selfHostingExamples.includes('KoalaSync:3000')) {
throw new Error('Both Caddy examples must match the compose loopback port binding');
}
if ((selfHostingExamples.match(/\/help\.html \/help 308/g) || []).length !== 2
|| (selfHostingExamples.match(/\/site-access-help\.html \/site-access-help 308/g) || []).length !== 2) {
throw new Error('Both Caddy examples must redirect legacy support-page URLs to their clean canonicals');
}
const landingStylesheet = landingStylesheets[0][0];
if (!/href="\{\{ASSET_PATH\}\}landing\.min\.css"/.test(landingStylesheet)) {
throw new Error('Landing stylesheet must use the landing.min.css build placeholder');