Skip to content

Commit aa7de54

Browse files
committed
fix: corregir URLs en configuración de Lighthouse CI
El servidor estático simple de Lighthouse CI no resuelve URLs sin extensión .html. Se actualizan las URLs de auditoría para incluir la extensión: - /docs/intro → /docs/intro.html - /blog → /blog.html Esto permite que Lighthouse CI encuentre correctamente los archivos HTML generados por Docusaurus sin necesidad de lógica de reescritura de URLs.
1 parent 7ad6e1a commit aa7de54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lighthouserc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ module.exports = {
1111
// URLs to audit (homepage and key pages)
1212
url: [
1313
'http://localhost/',
14-
'http://localhost/docs/intro',
15-
'http://localhost/blog',
14+
'http://localhost/docs/intro.html',
15+
'http://localhost/blog.html',
1616
],
1717
// Number of runs per URL for more stable results
1818
numberOfRuns: 3,

0 commit comments

Comments
 (0)