From 57161c70736e130e8ed1fa9aca7f6a1f095f0809 Mon Sep 17 00:00:00 2001 From: Rico Date: Thu, 8 Aug 2024 02:13:32 +0200 Subject: [PATCH] fix: use proper datatype bool instad of *bool --- internal/web/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/server.go b/internal/web/server.go index 8468d97..8382423 100644 --- a/internal/web/server.go +++ b/internal/web/server.go @@ -260,7 +260,7 @@ func NewWebsocketServer(networkIf string, port int, certPath, keyPath string) *W } upgrader = websocket.Upgrader{ - EnableCompression: *config.AppConfig.Webserver.CompressionEnabled, + EnableCompression: config.AppConfig.Webserver.CompressionEnabled, } if config.AppConfig.Webserver.RealIP {