From 6beed2ece5b37d941811a21a039a22c0a3dd3d8d Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Tue, 14 Jun 2022 16:31:58 +0500 Subject: [PATCH] fix cors for GPN --- AsbCloudWebApi/Startup.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/AsbCloudWebApi/Startup.cs b/AsbCloudWebApi/Startup.cs index d65805e0..3d3c2584 100644 --- a/AsbCloudWebApi/Startup.cs +++ b/AsbCloudWebApi/Startup.cs @@ -73,7 +73,11 @@ namespace AsbCloudWebApi "https://localhost:443", "http://cloud.autodrilling.ru", - "http://cloud.digitaldrilling.ru" + "http://cloud.digitaldrilling.ru", + + "smb2-digital-drilling-frontend-smb2-dev.apps.okd.cloud.nedra.digital", + "http://smb2-digital-drilling-frontend-smb2-dev.apps.okd.cloud.nedra.digital", + "https://smb2-digital-drilling-frontend-smb2-dev.apps.okd.cloud.nedra.digital" ) .AllowCredentials(); });