🔧 Fixed a path issue with the OPDS service
This commit is contained in:
@@ -32,7 +32,7 @@ export default class OpdsService extends Service {
|
|||||||
hooks: {},
|
hooks: {},
|
||||||
actions: {
|
actions: {
|
||||||
opds: {
|
opds: {
|
||||||
rest: "POST /opds",
|
rest: "POST /serve",
|
||||||
handler: async (ctx) => {
|
handler: async (ctx) => {
|
||||||
return buildAsync(
|
return buildAsync(
|
||||||
initMain({
|
initMain({
|
||||||
@@ -63,7 +63,7 @@ export default class OpdsService extends Service {
|
|||||||
ext
|
ext
|
||||||
);
|
);
|
||||||
const href = encodeURI(
|
const href = encodeURI(
|
||||||
`/opds/file/${file}`
|
`/comics/${file}`
|
||||||
);
|
);
|
||||||
const type =
|
const type =
|
||||||
lookup(ext) ||
|
lookup(ext) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user