diff --git a/backend/src/index.ts b/backend/src/index.ts index 08d6aca..1bf75e1 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -11,7 +11,11 @@ const PORT = parseInt(process.env.PORT || "3001"); const STATIC_DIR = process.env.STATIC_DIR || "./public"; const app = new Elysia() - .use(cors()) + .use( + cors({ + exposeHeaders: ["Content-Range", "Accept-Ranges", "Content-Length"], + }), + ) .onError(({ error }) => { console.error("Unhandled error:", error); return status(500, { error: "Internal server error" });