Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.
TypeScript
fix: Use jsDelivr CDN for categories JSON to avoid CORS issues
Chris Sherwood8e6e44e6888d
diff --git a/admin/inertia/pages/easy-setup/index.tsx b/admin/inertia/pages/easy-setup/index.tsxindex 33b4305b..87f72986 100644--- a/admin/inertia/pages/easy-setup/index.tsx+++ b/admin/inertia/pages/easy-setup/index.tsx@@ -22,7 +22,7 @@ const CURATED_MAP_COLLECTIONS_KEY = 'curated-map-collections'const CURATED_ZIM_COLLECTIONS_KEY = 'curated-zim-collections'const CURATED_CATEGORIES_KEY = 'curated-categories'const CATEGORIES_URL =- 'https://github.com/Crosstalk-Solutions/project-nomad/raw/refs/heads/feature/tiered-collections/collections/kiwix-categories.json'+ 'https://cdn.jsdelivr.net/gh/Crosstalk-Solutions/project-nomad@feature/tiered-collections/collections/kiwix-categories.json'// Helper to get all resources for a tier (including inherited resources)const getAllResourcesForTier = (tier: CategoryTier, allTiers: CategoryTier[]): CategoryResource[] => {