This commit is contained in:
2021-09-01 17:13:46 +00:00
parent f68127f33c
commit f38e3f7a83
3 changed files with 75 additions and 22 deletions

View File

@@ -89,7 +89,15 @@ namespace AyaNova.PlugIn.V8
var scheme = u.Scheme;
var host = u.Host;
var port = u.Port;
edServerUrl.Text = scheme + "://" + host + ":" + port + "/" + util.API_BASE_ROUTE;
//client url for notification default links, help links etc
if ((scheme == "https" && port == 443) || (scheme == "http" && port == 80))
util.GuessClientUrl = scheme + "://" + host + "/";
else
util.GuessClientUrl = scheme + "://" + host + ":" + port + "/";
}
catch (Exception ex)
{