diff --git a/dashboard/package.json b/dashboard/package.json index b4c6c9f..6f32b12 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -7,7 +7,7 @@ }, "scripts": { "dev": "next dev --turbo", - "prebuild": "tsx ../scripts/export-slugs.ts && tsx ../scripts/scan-md.ts && tsx ../scripts/fetch-dl-index.ts", + "prebuild": "tsx ../scripts/export-slugs.ts && tsx ../scripts/scan-md.ts && tsx ../scripts/fetch-dl-index.ts && node ../scripts/copy-manifests.js", "build": "next build", "build:static": "npm run prebuild && next build", "start": "next start", diff --git a/dashboard/src/lib/download/dl-index-data-offline-package.ts b/dashboard/src/lib/download/dl-index-data-offline-package.ts index 494103a..ebee303 100644 --- a/dashboard/src/lib/download/dl-index-data-offline-package.ts +++ b/dashboard/src/lib/download/dl-index-data-offline-package.ts @@ -2,7 +2,7 @@ import type { DirListing } from './types' import { buildDownloadSections, countFiles, findListing, formatSegmentLabel, type DownloadSection } from '../download-data' import fallbackOfflinePackage from '../../../public/_build/offline-package.json' -const OFFLINE_PACKAGE_URL = 'https://dl.svc.plus/dl-index/offline-package.json' +const OFFLINE_PACKAGE_URL = 'https://dl.svc.plus/dl-index/offline-package-manifest.json' /** * Fetch the offline-package download listings