From 1508d68fb4d0d3ac489a230d4cf403e6d5260e3e Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Tue, 1 Oct 2024 04:55:04 +1000 Subject: [PATCH] bfgapi: remove additional slash from default urls (fix #260) (#262) --- api/bfgapi/bfgapi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/bfgapi/bfgapi.go b/api/bfgapi/bfgapi.go index 722567a6..63c83eaa 100644 --- a/api/bfgapi/bfgapi.go +++ b/api/bfgapi/bfgapi.go @@ -54,8 +54,8 @@ var ( DefaultPrivateListen = "localhost:8080" DefaultPublicListen = "localhost:8383" DefaultPrometheusListen = "localhost:2112" - DefaultPrivateURL = "ws://" + DefaultPrivateListen + "/" + RouteWebsocketPrivate - DefaultPublicURL = "ws://" + DefaultPublicListen + "/" + RouteWebsocketPublic + DefaultPrivateURL = "ws://" + DefaultPrivateListen + RouteWebsocketPrivate + DefaultPublicURL = "ws://" + DefaultPublicListen + RouteWebsocketPublic DefaultRequestLimit = 10000 // XXX this is a bandaid DefaultRequestTimeout = 9 // XXX PNOOMA )