don't munge listen address (was listenfd workaround)
Alan Pearce alan@alanpearce.eu
Sun, 08 Dec 2024 19:39:25 +0100
1 files changed, 0 insertions(+), 4 deletions(-)
jump to
M cmd/server/main.go → cmd/server/main.go
@@ -25,10 +25,6 @@ panic("parsing runtime configuration" + err.Error()) } 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 {