Add specific origin for visitnamur and fortsaintheribert subdomain

This commit is contained in:
Thomas Fransolet 2024-12-04 08:55:15 +01:00
parent 05aab1bfa4
commit d968c419b3

View File

@ -177,7 +177,7 @@ namespace ManagerService
.AllowCredentials() .AllowCredentials()
#else #else
options => options 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() .AllowAnyMethod()
.AllowAnyHeader() .AllowAnyHeader()
.AllowCredentials() .AllowCredentials()