diff --git a/web/pages/server-sitemap.xml.tsx b/web/pages/server-sitemap.xml.tsx index e8f77e58..9a3cdfe8 100644 --- a/web/pages/server-sitemap.xml.tsx +++ b/web/pages/server-sitemap.xml.tsx @@ -15,7 +15,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => { const fields = sortedMarkets.map((market) => ({ // See https://www.sitemaps.org/protocol.html loc: market.url, - changefreq: 'hourly', + changefreq: market.volume24Hours > 10 ? 'hourly' : 'daily', priority: market.volume24Hours + market.volume7Days > 100 ? 0.7 : 0.1, // TODO: Add `lastmod` aka last modified time })) as ISitemapField[] diff --git a/web/public/sitemap-0.xml b/web/public/sitemap-0.xml index 6378f587..3b4618fb 100644 --- a/web/public/sitemap-0.xml +++ b/web/public/sitemap-0.xml @@ -1,6 +1,6 @@ -https://manifold.marketshourly0.7 +https://manifold.marketshourly1.0 https://manifold.markets/marketshourly0.2 -https://manifold.markets/leaderboardshourly0.2 +https://manifold.markets/leaderboardsdaily0.2 \ No newline at end of file