Files
vue-seo-layer/testing/fixtures/seo/site-drift.json
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

17 lines
594 B
JSON

{
"site_url": "https://example.test",
"default_locale": "pl",
"locales": ["pl", "en"],
"unprefixed_locale": "pl",
"links": { "new_tab": true },
"html_sitemap": { "enabled": true, "paths": { "pl": "/mapa", "en": "/en/sitemap" }, "page_size": 100 },
"routes": [
{ "type": "post", "pattern": "/posts/:slug" },
{ "type": "journal-post", "pattern": "/wpisy/:slug" }
],
"root_files": [],
"llms": false,
"pagination": { "form": "path", "param": "page", "segments": { "pl": "strona", "en": "page" } },
"home_crumb": { "name": "Start", "url": "https://example.test/" }
}