fix: Expose www-authenticate header to JS

This commit is contained in:
oSumAtrIX 2024-10-02 00:43:29 +02:00
parent a6d7da1205
commit 9ed724e161
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -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