Auth content-type

This commit is contained in:
Kieran
2022-02-26 23:26:00 +00:00
parent 6e0780b15f
commit b9f0c51d38

View File

@@ -54,7 +54,7 @@ services.AddCors(opt =>
{
p.AllowCredentials()
.AllowAnyMethod()
.WithHeaders("Authorization")
.WithHeaders("Content-Type", "Authorization")
.WithOrigins(voidSettings.CorsOrigins.Select(a => a.OriginalString).ToArray());
});
});