mirror of
https://github.com/JustKato/drive-health.git
synced 2026-03-04 08:29:45 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 39e16ce408 |
@@ -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
BIN
media/old-look.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
Reference in New Issue
Block a user