This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user