mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-26 15:12:47 -05:00
Fix bug matching https port
This commit is contained in:
@@ -90,7 +90,7 @@ export default async function initWebServer({
|
||||
}) {
|
||||
let { protocol, hostname, port } = new URL(baseURL)
|
||||
if (!port) {
|
||||
port = protocol === 'https' ? 443 : 80
|
||||
port = protocol === 'https:' ? 443 : 80
|
||||
}
|
||||
if (overridePort) {
|
||||
port = overridePort
|
||||
|
||||
Reference in New Issue
Block a user