Adds the URL rules to the preview server, IIS config and deploy

The preview server and web.config now follow the same URLs as nginx, without
the SPA fallback. Lighthouse exceptions need a recorded reason and the 404 page
is audited through an opt-in route. The deploy checks the build first and the
served result afterwards. The IIS rules stay unverified until a host exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-01 18:13:21 +01:00
co-authored by Claude Opus 5.5
parent 716692825e
commit e4e7f8c82c
17 changed files with 1919 additions and 220 deletions
+9
View File
@@ -1,10 +1,19 @@
// Types voor lighthouserc.cjs, zodat een test de URL-lijsten kan vergelijken
// met het pagina-register
type MobileExceptions = Record<string, { minScore: number; decision: string }>;
declare const config: {
performanceLevel: 'warn' | 'error';
indexedPaths: string[];
noindexPaths: string[];
notFoundPath: string;
photoPagePaths: string[];
mobileExceptions: MobileExceptions;
validateExceptions: (exceptions: MobileExceptions, paths: string[]) => void;
buildIndexedEntries: (
exceptions: MobileExceptions,
paths: string[],
) => { matchingUrlPattern: string; assertions: Record<string, unknown> }[];
ci: unknown;
};