mirror of
https://github.com/streamwall/streamwall.git
synced 2026-06-15 23:55:17 -04:00
Fix bug matching https port
This commit is contained in:
+1
-1
@@ -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