mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-03-29 16:01:43 +01:00
Auth content-type
This commit is contained in:
parent
6e0780b15f
commit
b9f0c51d38
@ -54,7 +54,7 @@ services.AddCors(opt =>
|
||||
{
|
||||
p.AllowCredentials()
|
||||
.AllowAnyMethod()
|
||||
.WithHeaders("Authorization")
|
||||
.WithHeaders("Content-Type", "Authorization")
|
||||
.WithOrigins(voidSettings.CorsOrigins.Select(a => a.OriginalString).ToArray());
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user