Files
vue-seo-layer/testing/expect-seo-drift.txt
Jakub Zych 3abc986f42 feat: route report and drift check at server start
- the module writes #seo-routes (static paths and route patterns) from the
  resolved pages; options seo.routeReport, seo.pagination and
  seo.htmlSitemap reach the public runtime config
- seo-route-report: POST /registry/routes once per process with the
  route-report token, one retry after 60 s on failure, nothing without a
  token, with the layer off or with routeReport false
- seo-drift: one "[vue-seo-layer] drift:" warning per mismatch between
  the CMS's site answer (URL patterns, pagination, HTML sitemap paths)
  and the build
- GET /api/__seo__/site and useSeoSite()
- smoke grammar routereport and log, fixture registry route, drift run
2026-11-04 11:49:21 +01:00

13 lines
840 B
Plaintext

# The startup drift check against a site answer that differs from the
# build (testing/fixtures/seo/site-drift.json): a content type whose URL
# pattern no Nuxt route serves, the path pagination form against the
# layer's query form and another pl HTML sitemap path. One warning each;
# the server still starts and serves pages. Run with
# NUXT_PUBLIC_SEO_ROUTE_REPORT=false, so no route report is sent.
200 /plain contains=<title>Plain page | Playground</title>
log [vue-seo-layer] drift::3
log [vue-seo-layer] drift: the CMS's journal-post URLs (/wpisy/:slug) match no Nuxt route:1
log [vue-seo-layer] drift: the CMS paginates in the path form, the layer was built with query (seo.pagination.form):1
log [vue-seo-layer] drift: the CMS serves the pl HTML sitemap at /mapa, the layer at /mapa-strony (seo.htmlSitemap.paths):1
routereport 0