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:
@@ -642,8 +642,8 @@ describe('pagina-register', () => {
|
||||
.map(([path]) => path);
|
||||
expect(lighthouseConfig.indexedPaths).toEqual(indexed);
|
||||
expect(lighthouseConfig.noindexPaths).toEqual(noindex);
|
||||
// Lighthouse weigert een 404-pagina; de preview-server geeft het
|
||||
// bestand 404.html als bestandsverzoek met status 200 (BR-SRV-04)
|
||||
expect(lighthouseConfig.notFoundPath).toBe('/404.html');
|
||||
// Lighthouse weigert een foutstatus; de preview-server geeft de 404-pagina
|
||||
// alleen via de opt-in route met status 200. /404.html is een echte 404
|
||||
expect(lighthouseConfig.notFoundPath).toBe('/__audit/404');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user