mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-07 21:04:34 -05:00
Optionally allow basic auth fallback for chapter page endpoint (#1757)
Requesting a chapter page while having a non basic auth mode (e.g. ui login) enabled caused the basic auth prompt. However, this is only supposed to be happen for opds
This commit is contained in:
@@ -365,7 +365,7 @@ object OpdsEntryBuilder {
|
||||
if (chapter.pageCount > 0) {
|
||||
val basePageHref =
|
||||
"/api/v1/manga/${manga.id}/chapter/${chapter.sourceOrder}/page/{pageNumber}" +
|
||||
"?updateProgress=${serverConfig.opdsEnablePageReadProgress.value}"
|
||||
"?updateProgress=${serverConfig.opdsEnablePageReadProgress.value}&opds=true"
|
||||
|
||||
val title: String =
|
||||
when {
|
||||
|
||||
Reference in New Issue
Block a user