mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-30 17:02:49 -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)
|
let { protocol, hostname, port } = new URL(baseURL)
|
||||||
if (!port) {
|
if (!port) {
|
||||||
port = protocol === 'https' ? 443 : 80
|
port = protocol === 'https:' ? 443 : 80
|
||||||
}
|
}
|
||||||
if (overridePort) {
|
if (overridePort) {
|
||||||
port = overridePort
|
port = overridePort
|
||||||
|
|||||||
Reference in New Issue
Block a user