Code cleanup; Implement persistant storage; Use maps for storage

This commit is contained in:
Pijus Kamandulis
2024-02-25 22:13:04 +02:00
parent 1c5e5ce85d
commit 48660b5f63
39 changed files with 1420 additions and 1408 deletions

View File

@@ -24,6 +24,9 @@ func RegisterExplorerHandlers(router *gin.Engine) {
ctx.Next()
}
})
explorer.Static("/", config.Config.ExplorerPath)
if config.Config.ExplorerPath != "" {
explorer.Static("/", config.Config.ExplorerPath)
}
}
}