import { getPaths } from "yt-dlp-transcript-common/lib/paths"; import { getHomepageConfig, type HomepageConfig, } from "yt-dlp-transcript-common/lib/homepage"; // The hub builds a single, instance-level site (no SITE_ID). Config comes from // sites/_homepage/homepage.json; getHomepageConfig() synthesizes neutral // defaults when the file is absent, so `next dev`/`next build` work before the // hub is configured in the editor. export function currentHomepage(): HomepageConfig { return getHomepageConfig(getPaths()); }