From c88f5f3a36b2f540ea54789c76b143167f52e3f4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 8 Dec 2024 19:39:25 +0100 Subject: don't munge listen address (was listenfd workaround) --- cmd/server/main.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/server') diff --git a/cmd/server/main.go b/cmd/server/main.go index 21d8e89..ddf3426 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -25,10 +25,6 @@ func main() { } log := log.Configure(!runtimeConfig.Development) - if listenAddress := runtimeConfig.ListenAddress; listenAddress[0] == '[' { - runtimeConfig.ListenAddress = listenAddress[1 : len(listenAddress)-1] - } - if runtimeConfig.Development { tmpdir, err := os.MkdirTemp("", "website") if err != nil { -- cgit 1.4.1