[object Object]

← back to AsSeenInMovies

asim robots.txt: also reference /sitemap.txt (multiple Sitemap directives allowed). 69/69.

f10bd929401123ac05cf1d09503c3aa03e213c4e · 2026-05-13 09:11:43 -0700 · SteveStudio2

Files touched

Diff

commit f10bd929401123ac05cf1d09503c3aa03e213c4e
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Wed May 13 09:11:43 2026 -0700

    asim robots.txt: also reference /sitemap.txt (multiple Sitemap directives allowed). 69/69.
---
 server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.js b/server.js
index ea487fb..fc948dc 100644
--- a/server.js
+++ b/server.js
@@ -2075,7 +2075,7 @@ app.get('/sitemap.txt', async (_req, res) => {
 app.get('/robots.txt', (_req, res) => {
   const base = process.env.ASIM_PUBLIC_URL || 'https://asseeninmovies.com';
   res.setHeader('Cache-Control', 'public, max-age=86400');
-  res.type('text/plain').send(`User-agent: *\nAllow: /\nDisallow: /spotted/queue\nDisallow: /api/\nSitemap: ${base}/sitemap.xml\n`);
+  res.type('text/plain').send(`User-agent: *\nAllow: /\nDisallow: /spotted/queue\nDisallow: /api/\nSitemap: ${base}/sitemap.xml\nSitemap: ${base}/sitemap.txt\n`);
 });
 
 // Branded 404 — was leaking the stock Express "Cannot GET /…" plain-text

← a1260ae asim Makefile — common dev targets (start, smoke, smoke-quie  ·  back to AsSeenInMovies  ·  asim /api/credits/stats — document why department=0 (TMDB in e25dd59 →