From 7c006613659936392810f0c41bf5b7f7d7afb1dc Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Tue, 14 Apr 2026 14:28:38 +0800 Subject: [PATCH] fix(opds2): auth logo issue when using base url Closes: #2285 --- .../kotlin/org/gotson/komga/interfaces/api/OpdsGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/OpdsGenerator.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/OpdsGenerator.kt index fae1f9dc..c5a8523c 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/OpdsGenerator.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/OpdsGenerator.kt @@ -92,7 +92,7 @@ class OpdsGenerator( links = listOf( WPLinkDto(rel = "help", href = "https://komga.org"), - WPLinkDto(rel = "logo", href = ServletUriComponentsBuilder.fromCurrentContextPath().path("android-chrome-512x512.png").toUriString()), + WPLinkDto(rel = "logo", href = ServletUriComponentsBuilder.fromCurrentContextPath().pathSegment("android-chrome-512x512.png").toUriString()), ), authentication = listOf(