From b9f0c51d381649a8151689b2957f39cbadc01fe1 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sat, 26 Feb 2022 23:26:00 +0000 Subject: [PATCH] Auth content-type --- VoidCat/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VoidCat/Program.cs b/VoidCat/Program.cs index f606284..3117bd6 100644 --- a/VoidCat/Program.cs +++ b/VoidCat/Program.cs @@ -54,7 +54,7 @@ services.AddCors(opt => { p.AllowCredentials() .AllowAnyMethod() - .WithHeaders("Authorization") + .WithHeaders("Content-Type", "Authorization") .WithOrigins(voidSettings.CorsOrigins.Select(a => a.OriginalString).ToArray()); }); });