From 3c08b07d97af04f337d4a37f5adb66f0bbfe7cac Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 9 May 2022 14:46:03 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fixed=20a=20path=20issue=20with?= =?UTF-8?q?=20the=20OPDS=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/opds.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/opds.service.ts b/services/opds.service.ts index 7092893..23e7e85 100644 --- a/services/opds.service.ts +++ b/services/opds.service.ts @@ -32,7 +32,7 @@ export default class OpdsService extends Service { hooks: {}, actions: { opds: { - rest: "POST /opds", + rest: "POST /serve", handler: async (ctx) => { return buildAsync( initMain({ @@ -63,7 +63,7 @@ export default class OpdsService extends Service { ext ); const href = encodeURI( - `/opds/file/${file}` + `/comics/${file}` ); const type = lookup(ext) ||