fix 60163

This commit is contained in:
pavelbannov 2023-01-12 12:09:01 +03:00
parent 6e5d43f84c
commit 92f786c572
2 changed files with 8 additions and 1 deletions

View File

@ -160,6 +160,13 @@ public class BaseCommonLinkUtility
return _serverRootPath = result.Uri.ToString().TrimEnd('/');
}
set
{
if (value == null)
{
_serverRootPath = null;
}
}
}
public string GetFullAbsolutePath(string virtualPath)

View File

@ -356,7 +356,7 @@ public class PortalController : ControllerBase
tenant.Alias = alias;
tenant = _tenantManager.SaveTenant(tenant);
_commonLinkUtility.ServerRootPath = null;
if (!string.IsNullOrEmpty(_apiSystemHelper.ApiCacheUrl))
{