Skip to content

Commit 6ba86dd

Browse files
authored
Merge pull request #3348 from OpenNeuroOrg/sitemap-fixes
fix(server): Sitemap updates for search portal pages and image attribution
2 parents 3cbc849 + 96c2490 commit 6ba86dd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/openneuro-server/src/handlers/sitemap.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@ import Dataset from "../models/dataset"
55
// Static URLs - manual for now, could be generated from routes
66
export const sitemapStaticUrls = () => [
77
{ url: "/", priority: 0.9, changefreq: "weekly" },
8-
{ url: "/public/datasets", priority: 1.0, changefreq: "daily" },
8+
{ url: "/search", priority: 0.8, changefreq: "daily" },
9+
{ url: "/search/modality/mri", priority: 0.7, changefreq: "daily" },
10+
{ url: "/search/modality/pet", priority: 0.7, changefreq: "daily" },
11+
{ url: "/search/modality/meg", priority: 0.7, changefreq: "daily" },
12+
{ url: "/search/modality/eeg", priority: 0.7, changefreq: "daily" },
13+
{ url: "/search/modality/ieeg", priority: 0.7, changefreq: "daily" },
14+
{ url: "/search/modality/nirs", priority: 0.7, changefreq: "daily" },
15+
{ url: "/search/nih", priority: 0.7, changefreq: "daily" },
916
{ url: "/faq", priority: 0.6, changefreq: "monthly" },
1017
{ url: "/pet", priority: 0.5, changefreq: "monthly" },
1118
{ url: "/terms", priority: 0.5, changefreq: "monthly" },
1219
{ url: "/cite", priority: 0.4, changefreq: "monthly" },
13-
{ url: "/public/jobs", priority: 0.5, changefreq: "monthly" },
20+
{ url: "/image-attribution", priority: 0.4, changefreq: "monthly" },
1421
{ url: "/crn/graphql", priority: 0.3 },
1522
]
1623

0 commit comments

Comments
 (0)