mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-10 21:36:18 +00:00
fix: Expose www-authenticate header to JS
This commit is contained in:
@@ -18,6 +18,7 @@ fun Application.configureHTTP() {
|
|||||||
|
|
||||||
allowHeader(HttpHeaders.ContentType)
|
allowHeader(HttpHeaders.ContentType)
|
||||||
allowHeader(HttpHeaders.Authorization)
|
allowHeader(HttpHeaders.Authorization)
|
||||||
|
exposeHeader(HttpHeaders.WWWAuthenticate)
|
||||||
|
|
||||||
allowCredentials = true
|
allowCredentials = true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user