From d968c419b3c3e628a53acb9225169f5d83e5e2fc Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Wed, 4 Dec 2024 08:55:15 +0100 Subject: [PATCH] Add specific origin for visitnamur and fortsaintheribert subdomain --- ManagerService/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ManagerService/Startup.cs b/ManagerService/Startup.cs index 2bf8eba..5473c42 100644 --- a/ManagerService/Startup.cs +++ b/ManagerService/Startup.cs @@ -177,7 +177,7 @@ namespace ManagerService .AllowCredentials() #else options => options - .SetIsOriginAllowed(origin => string.IsNullOrEmpty(origin) || origin == "https://manager.myinfomate.be") + .SetIsOriginAllowed(origin => string.IsNullOrEmpty(origin) || origin == "https://manager.myinfomate.be" || origin == "https://visitnamur.myinfomate.be" || origin == "https://fortsaintheribert.myinfomate.be") .AllowAnyMethod() .AllowAnyHeader() .AllowCredentials()