about summary refs log tree commit diff stats
path: root/cmd/server
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server')
-rw-r--r--cmd/server/main.go4
1 files changed, 0 insertions, 4 deletions
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 {