mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fixes for trixie and tor
This commit is contained in:
@@ -6,5 +6,5 @@ export type TestSmtpParams = {
|
||||
from: string
|
||||
to: string
|
||||
login: string
|
||||
password: string | null
|
||||
password: string
|
||||
}
|
||||
|
||||
@@ -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