diff --git a/server/src/main/kotlin/suwayomi/tachidesk/server/JavalinSetup.kt b/server/src/main/kotlin/suwayomi/tachidesk/server/JavalinSetup.kt index 355ddbc4..64b451b7 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/server/JavalinSetup.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/server/JavalinSetup.kt @@ -112,8 +112,11 @@ object JavalinSetup { } app.beforeMatched { ctx -> + val isWebManifest = listOf("site.webmanifest", "manifest.json").any { ctx.path().endsWith(it) } val isPreFlight = ctx.method() == HandlerType.OPTIONS - if (isPreFlight) { + + val requiresAuthentication = !isPreFlight && !isWebManifest + if (!requiresAuthentication) { return@beforeMatched }