Files
vue-seo-layer/testing/expect-seo-off.txt
Jakub Zych d1629439c7 feat: root files from the CMS and the 404 report
- server/middleware/seo-root.ts proxies /robots.txt, /sitemap.xml,
  /sitemap-<name>.xml, /llms.txt and the verification and IndexNow key
  files the site answer lists in root_files, with the backend's status,
  content type and X-Robots-Tag; a backend failure is 503 Retry-After 60
- server/lib/site.ts caches GET /_seo/api/v1/site (300 s, cleared by the
  purge); a backend without it (404) keeps the v0.1.1 behaviour: no root
  proxies, the verification lookup by name
- the 404 report and the verification lookup honour seo.cms and rootFiles
- smoke runs for the layer off (seo.cms and the v0.1.1 enabled switch), the
  CMS down (fail open) and no 404 token; npm run purge:check
2026-11-04 09:26:00 +01:00

14 lines
613 B
Plaintext

# The layer switched off: seo.cms false (NUXT_PUBLIC_SEO_CMS=false) or the
# v0.1.1 switch public.seo.enabled false (NUXT_PUBLIC_SEO_ENABLED=false).
# No resolve, no CMS head, no redirect, no root files, no 404 report: the
# pages keep their own head and the API sees no request at all.
200 /about contains=<title>Own about | Playground</title> contains=href="https://own-canonical.test/about" noheader=X-Robots-Tag
200 /plain?page=abc contains=<title>Plain page | Playground</title>
404 /stary noheader=Location
404 /robots.txt
404 /google1234.html
404 /google0123.html
404 /kontakt
apicalls 0
noreport /kontakt