mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fixes for trixie and tor
This commit is contained in:
@@ -168,12 +168,12 @@ export const addressHostToUrl = (
|
||||
}${hostname}${excludePort ? "" : `:${port}`}${suffix}`
|
||||
}
|
||||
let url = null
|
||||
if (hostname.hostname.sslPort !== null) {
|
||||
url = fmt(sslScheme, hostname, hostname.hostname.sslPort)
|
||||
if (hostname.hostname.port !== null) {
|
||||
url = fmt(scheme, hostname, hostname.hostname.port)
|
||||
}
|
||||
let sslUrl = null
|
||||
if (hostname.hostname.port !== null) {
|
||||
sslUrl = fmt(scheme, hostname, hostname.hostname.port)
|
||||
if (hostname.hostname.sslPort !== null) {
|
||||
sslUrl = fmt(sslScheme, hostname, hostname.hostname.sslPort)
|
||||
}
|
||||
|
||||
return { url, sslUrl }
|
||||
|
||||
Reference in New Issue
Block a user