Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(www): add /evals to the sitemap (#49226)

claude[bot]8a33c094b4ab
diff --git a/apps/www/internals/generate-sitemap.mjs b/apps/www/internals/generate-sitemap.mjs
index af7aa31cd73..939c6be54d1 100644
--- a/apps/www/internals/generate-sitemap.mjs
+++ b/apps/www/internals/generate-sitemap.mjs
@@ -139,10 +139,22 @@ async function generate() {
}
})()
+ // /evals is a separate app proxied onto supabase.com via a rewrite in lib/rewrites.js,
+ // so it has no page file for the globs above to find. Hardcode it here.
+ const proxiedAppUrls = [
+ `
+ <url>
+ <loc>https://supabase.com/evals</loc>
+ <changefreq>weekly</changefreq>
+ <priority>0.5</priority>
+ </url>
+ `,
+ ]
+
const sitemap = `
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- ${[...staticUrls, ...changelogDetailUrls].join('')}
+ ${[...staticUrls, ...changelogDetailUrls, ...proxiedAppUrls].join('')}
</urlset>
`