common: always use http server url for internal use
This commit is contained in:
1 parent
a14ccfadce
commit
16e370855f
1 file changed
+2
-2
@@ -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