force release mode in GIN

This commit is contained in:
Cedric Verstraeten
2024-01-03 18:26:10 +01:00
parent 9c97422f43
commit 8be8cafd00

View File

@@ -41,6 +41,9 @@ import (
func StartServer(configDirectory string, configuration *models.Configuration, communication *models.Communication, captureDevice *capture.Capture) {
// Set release mode
gin.SetMode(gin.ReleaseMode)
// Initialize REST API
r := gin.Default()