From b9ba3e75fa65c375134fd257641657a769bd3927 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 5 Oct 2022 11:49:47 -0400 Subject: [PATCH] Show top 5k markets in sitemap --- web/pages/server-sitemap.xml.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pages/server-sitemap.xml.tsx b/web/pages/server-sitemap.xml.tsx index 8e1a137e..a43236ce 100644 --- a/web/pages/server-sitemap.xml.tsx +++ b/web/pages/server-sitemap.xml.tsx @@ -4,7 +4,7 @@ import { getServerSideSitemap, ISitemapField } from 'next-sitemap' import { listAllContracts } from 'web/lib/firebase/contracts' export const getServerSideProps: GetServerSideProps = async (ctx) => { - const contracts = await listAllContracts(1000, undefined, 'popularityScore') + const contracts = await listAllContracts(5000, undefined, 'popularityScore') const score = (popularity: number) => Math.tanh(Math.log10(popularity + 1))