update domain checks for InternalApi baseUrl and improve error details in RoleApplication
This commit is contained in:
@@ -357,11 +357,11 @@ if (host.Contains("localhost"))
|
||||
{
|
||||
baseUrl = builder.Configuration["InternalApi:Local"];
|
||||
}
|
||||
else if (host.Contains("dadmehrg.ir"))
|
||||
else if (host.Contains("dadmehrg"))
|
||||
{
|
||||
baseUrl = builder.Configuration["InternalApi:Dadmehrg"];
|
||||
}
|
||||
else if (host.Contains("gozareshgir.ir"))
|
||||
else if (host.Contains("gozareshgir"))
|
||||
{
|
||||
baseUrl = builder.Configuration["InternalApi:Gozareshgir"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user