cleanup: trim oversized comments across recent SaaS fixes

Reduce multi-paragraph comment blocks to short two-line notes and drop
history-style references; no behaviour changes.
This commit is contained in:
Anthony Stirling
2026-06-10 14:30:29 +01:00
parent bf18af4708
commit 5b412c0fed
11 changed files with 30 additions and 95 deletions
+2 -5
View File
@@ -243,11 +243,8 @@ export default defineConfig(async ({ mode }) => {
// SPA fallback returns index.html as text/html and React never mounts.
// VITE_BUILD_FOR_PREVIEW=1 (set by the CI playwright steps) overrides to
// an absolute base so deep-route asset paths resolve to /assets/...
// Trailing slash is required: it becomes `<base href>` in index.html, and
// the browser resolves relative links (manifest.json, modern-logo/favicon.ico)
// against the base's *directory*. Without it, `/bpp` resolves relatives to
// the domain root → `/manifest.json` 404 instead of `/bpp/manifest.json`.
// getBasePath() strips the trailing slash, so BASE_PATH/routing are unchanged.
// Trailing slash required: it becomes `<base href>`, and browsers resolve
// relative URLs (manifest.json, favicon) against the base's *directory*.
base: env.RUN_SUBPATH
? `/${env.RUN_SUBPATH}/`
: process.env.VITE_BUILD_FOR_PREVIEW === "1"