mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 06:15:39 -04:00
Add all 10 milestones: Drizzle ORM + SQLite database with WAL mode, Better Auth email/password authentication, TMDB API integration for search and metadata import, TV season/episode caching, user tracking (watchlist/status/watches/ratings with auto-transitions), discovery feeds (continue watching, library, recommendations), US streaming availability via TMDB providers, background job scheduler with instrumentation hook, and dark cinema-themed frontend with DM Serif Display + DM Sans typography and amber accent design system. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
300 B
TypeScript
14 lines
300 B
TypeScript
export async function onRequestError() {
|
|
// Required by Next.js instrumentation
|
|
}
|
|
|
|
export async function register() {
|
|
if (
|
|
process.env.NEXT_RUNTIME === "nodejs" &&
|
|
process.env.NODE_ENV === "production"
|
|
) {
|
|
const { initJobs } = await import("@/lib/jobs/init");
|
|
initJobs();
|
|
}
|
|
}
|