diff --git a/backend/novasonic-server.js b/backend/novasonic-server.js index 4781d23..39e22af 100644 --- a/backend/novasonic-server.js +++ b/backend/novasonic-server.js @@ -381,6 +381,37 @@ app.get('/api/jobs', (req, res) => { res.json(Array.from(jobs.values()).sort((a, b) => b.createdAt - a.createdAt).slice(0, 50)); }); +// ─── ABS PROXY ─────────────────────────────────────────────────────────────── +// Forwards API calls to Audiobookshelf to avoid CORS restrictions in the browser. +// The browser sends X-ABS-URL and X-ABS-Token headers; audio streaming uses +// direct