mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
common: always use http server url for internal use
This commit is contained in:
@@ -44,9 +44,9 @@ namespace Streetwriters.Common
|
||||
public override string ToString()
|
||||
{
|
||||
var url = "";
|
||||
url += IsSecure ? "https" : "http";
|
||||
url += "http";
|
||||
url += $"://{Hostname}";
|
||||
url += IsSecure || Port == 80 ? "" : $":{Port}";
|
||||
url += Port == 80 || Port == 443 ? "" : $":{Port}";
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user