From 75ea10018658039413ee63ab5ec8fb6d32adf236 Mon Sep 17 00:00:00 2001 From: KharchenkoVV Date: Wed, 19 May 2021 16:31:15 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20.AllowOrigins()=20=D0=B2=20Startup.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AsbCloudWebApi/Startup.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AsbCloudWebApi/Startup.cs b/AsbCloudWebApi/Startup.cs index a4d78058..8747f3c2 100644 --- a/AsbCloudWebApi/Startup.cs +++ b/AsbCloudWebApi/Startup.cs @@ -35,8 +35,10 @@ namespace AsbCloudWebApi { policy.AllowAnyHeader() .AllowAnyMethod() - .WithOrigins("http://localhost:3000") - .AllowCredentials(); + .AllowAnyOrigin() + //.WithOrigins("http://localhost:3000") + //.AllowCredentials() + ; }); }); }