Convert back to old common js

This commit is contained in:
J H
2024-02-08 13:35:56 -07:00
parent dc7a86a8e8
commit 17ec714277
7 changed files with 16 additions and 16 deletions

View File

@@ -69,8 +69,8 @@ const addressHostToUrl = (
const scheme = host.endsWith(".onion")
? options.scheme
: options.addSsl
? options.addSsl.scheme
: options.scheme // TODO: encode whether hostname transport is "secure"?
? options.addSsl.scheme
: options.scheme // TODO: encode whether hostname transport is "secure"?
return `${scheme ? `${scheme}//` : ""}${
username ? `${username}@` : ""
}${host}${suffix}`