From 9ed724e161f9029967f67e4c2066f2fdf7be0a27 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 2 Oct 2024 00:43:29 +0200 Subject: [PATCH] fix: Expose www-authenticate header to JS --- src/main/kotlin/app/revanced/api/configuration/HTTP.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/app/revanced/api/configuration/HTTP.kt b/src/main/kotlin/app/revanced/api/configuration/HTTP.kt index eee4b07..523ea8e 100644 --- a/src/main/kotlin/app/revanced/api/configuration/HTTP.kt +++ b/src/main/kotlin/app/revanced/api/configuration/HTTP.kt @@ -18,6 +18,7 @@ fun Application.configureHTTP() { allowHeader(HttpHeaders.ContentType) allowHeader(HttpHeaders.Authorization) + exposeHeader(HttpHeaders.WWWAuthenticate) allowCredentials = true