mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-09-25 18:21:14 +02:00
Auth content-type
This commit is contained in:
@@ -54,7 +54,7 @@ services.AddCors(opt =>
|
||||
{
|
||||
p.AllowCredentials()
|
||||
.AllowAnyMethod()
|
||||
.WithHeaders("Authorization")
|
||||
.WithHeaders("Content-Type", "Authorization")
|
||||
.WithOrigins(voidSettings.CorsOrigins.Select(a => a.OriginalString).ToArray());
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user