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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user