Skip to content

Commit

Permalink
force release mode in GIN
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Jan 3, 2024
1 parent 9c97422 commit 8be8caf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions machinery/src/routers/http/Server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 8be8caf

Please sign in to comment.