diff --git a/FileStream/config.py b/FileStream/config.py index 48c49c81..39aee81b 100644 --- a/FileStream/config.py +++ b/FileStream/config.py @@ -34,7 +34,7 @@ class Server: NO_PORT = str(env.get("NO_PORT", "0").lower()) in ("1", "true", "t", "yes", "y") FQDN = str(env.get("FQDN", BIND_ADDRESS)) URL = "http{}://{}{}/".format( - "s" if HAS_SSL else "", FQDN, "" if NO_PORT else ":" + str(PORT) + "s" if HAS_SSL else "", FQDN, "" if NO_PORT or ".onrender.com" in FQDN else ":" + str(PORT) )