We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d81682 commit 42a81daCopy full SHA for 42a81da
1 file changed
apps/web/app/sitemap.ts
@@ -21,7 +21,7 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
21
const db = getDb();
22
23
const stores = await db.sql`SELECT slug, created_at FROM stores ORDER BY created_at DESC`;
24
- const coupons = await db.sql`SELECT id, created_at FROM coupons ORDER BY created_at DESC`;
+ const coupons = await db.sql`SELECT id, created_at FROM coupons WHERE verified = 1 ORDER BY created_at DESC`;
25
26
const storeRoutes: MetadataRoute.Sitemap = stores.map((s: { slug: string; created_at: string }) => ({
27
url: `${BASE}/stores/${s.slug}`,
0 commit comments