From 00ef6a1491b34d7e57c2966252da9f238f505a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Tue, 25 May 2021 11:49:13 +0500 Subject: [PATCH] fix cors --- AsbCloudWebApi/Startup.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AsbCloudWebApi/Startup.cs b/AsbCloudWebApi/Startup.cs index 4a6fa1ef..1a8f4162 100644 --- a/AsbCloudWebApi/Startup.cs +++ b/AsbCloudWebApi/Startup.cs @@ -37,8 +37,10 @@ namespace AsbCloudWebApi .AllowAnyMethod() .WithOrigins( "http://0.0.0.0:3000", + "http://*:3000", "http://localhost:3000", "http://0.0.0.0:5000", + "http://*:5000", "http://localhost:5000" ) .AllowCredentials();