Skip to content

Commit

Permalink
fix: use proper datatype bool instad of *bool
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Aug 8, 2024
1 parent 6c2b10b commit 57161c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57161c7

Please sign in to comment.