// Fallback cover used when the real cover fails to load (e.g. scanner // didn't pick up embedded art and there's no sidecar). Served as a static // asset from web/static/placeholders/ so the operator can swap the artwork // without touching code. SvelteKit + adapter-static publishes everything // under web/static/ at the URL root, and the Go binary embeds the build // output, so this resolves identically in dev and production. export const FALLBACK_COVER = '/placeholders/album-fallback.svg'; export function coverUrl(albumId: string): string { return `/api/albums/${albumId}/cover`; }