Skip to content

Commit

Permalink
Fixed the OPDS entry links to be consistent [#343]
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpierce committed Jun 13, 2020
1 parent a966f56 commit 9f94c97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public OPDSEntry(Comic comic) {

// FIXME: Is there some sort of router interface we can
// use to build urls
String urlPrefix = "/opds-comics/feed/comics/" + comic.getId();
String urlPrefix = "/opds/feed/comics/" + comic.getId();

if (!comic.isMissing()) {
this.log.debug("Added comic to feed: {}", comic.getFilename());
Expand Down Expand Up @@ -119,7 +119,7 @@ public OPDSEntry(Comic comic) {
new OPDSVLink(
"image/jpeg",
"http://vaemendis.net/opds-pse/stream",
"/opds-comics/feed/comics/" + comic.getId() + "/{pageNumber}/{maxWidth}",
"/opds/feed/comics/" + comic.getId() + "/{pageNumber}/{maxWidth}",
comic.getPageCount()));
} else {
this.log.debug("Comic file missing: {}", comic.getFilename());
Expand Down

0 comments on commit 9f94c97

Please sign in to comment.