🔧 Fixed a path issue with the OPDS service

This commit is contained in:
2022-05-09 14:46:03 -07:00
parent f5baba034a
commit 3c08b07d97

View File

@@ -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) ||