← back to AsSeenInMovies
asim smoke +2 /sitemap.txt checks. 67/67.
e88f11a7547ff5ae0972d08f9b05f705651f030e · 2026-05-13 07:45:33 -0700 · SteveStudio2
Files touched
Diff
commit e88f11a7547ff5ae0972d08f9b05f705651f030e
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Wed May 13 07:45:33 2026 -0700
asim smoke +2 /sitemap.txt checks. 67/67.
---
test/smoke.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/smoke.js b/test/smoke.js
index d60183c..f8f9a94 100644
--- a/test/smoke.js
+++ b/test/smoke.js
@@ -136,11 +136,14 @@ function check(name, cond, hint = '') {
check('random/spotted: 302', r.status === 302);
check('random/spotted: -> /movie/.../#spotted', /\/movie\/\d+#spotted/.test(r.headers.location || ''));
- // 13. /sitemap.xml + /robots.txt
+ // 13. /sitemap.xml + /sitemap.txt + /robots.txt
r = await fetch('/sitemap.xml');
check('sitemap: 200', r.status === 200);
check('sitemap: urlset', /<urlset/.test(r.body));
check('sitemap: has /about', /<loc>[^<]*\/about<\/loc>/.test(r.body));
+ r = await fetch('/sitemap.txt');
+ check('sitemap.txt: 200', r.status === 200);
+ check('sitemap.txt: has http URL', /^https?:\/\//.test(r.body));
r = await fetch('/robots.txt');
check('robots: 200', r.status === 200);
check('robots: disallow queue', /\/spotted\/queue/.test(r.body));
← c819393 asseeninmovies: GET /sitemap.txt — plain-text sitemap (Googl
·
back to AsSeenInMovies
·
asim /api/health Cache-Control: no-store (timestamped livene f7d2a51 →