* Ginmode force

This commit is contained in:
Daniel Legt 2024-01-21 22:50:50 +02:00
parent 40e02abe87
commit 39e16ce408
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ func SetupRouter() *gin.Engine {
cfg := config.GetConfiguration()
r := gin.Default()
// Set gin to release
gin.SetMode(gin.ReleaseMode)
r.Use(BasicAuthMiddleware(cfg.IdentityUsername, cfg.IdentityPassword))
// Setup Health Pings

BIN
media/old-look.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB