mirror of
https://github.com/JustKato/drive-health.git
synced 2026-02-27 06:17:00 +02:00
* Ginmode force
This commit is contained in:
@@ -10,6 +10,9 @@ func SetupRouter() *gin.Engine {
|
|||||||
cfg := config.GetConfiguration()
|
cfg := config.GetConfiguration()
|
||||||
r := gin.Default()
|
r := gin.Default()
|
||||||
|
|
||||||
|
// Set gin to release
|
||||||
|
gin.SetMode(gin.ReleaseMode)
|
||||||
|
|
||||||
r.Use(BasicAuthMiddleware(cfg.IdentityUsername, cfg.IdentityPassword))
|
r.Use(BasicAuthMiddleware(cfg.IdentityUsername, cfg.IdentityPassword))
|
||||||
|
|
||||||
// Setup Health Pings
|
// Setup Health Pings
|
||||||
|
|||||||
BIN
media/old-look.png
Normal file
BIN
media/old-look.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
Reference in New Issue
Block a user