From 3573f98ef703d2486aded09556899fc9e1d15f31 Mon Sep 17 00:00:00 2001 From: Berend Wouters Date: Fri, 28 Oct 2022 12:47:23 +0200 Subject: [PATCH] Remove allow credentials from cors settings --- SpaceAPI.Host/Startup.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SpaceAPI.Host/Startup.cs b/SpaceAPI.Host/Startup.cs index 2f02259..9c73fd4 100644 --- a/SpaceAPI.Host/Startup.cs +++ b/SpaceAPI.Host/Startup.cs @@ -81,10 +81,10 @@ public void ConfigureServices(IServiceCollection services) options.AddDefaultPolicy( builder => { - builder.AllowAnyOrigin() - .AllowAnyMethod() - .AllowAnyHeader() - .AllowCredentials(); + builder + .AllowAnyOrigin() + .AllowAnyMethod() + .AllowAnyHeader(); }); });