mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-23 02:40:54 +00:00
Code cleanup; Implement persistant storage; Use maps for storage
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user