Fix cosmos explorer incorrect redirect

This commit is contained in:
Pijus Kamandulis
2024-11-14 18:42:17 +02:00
parent 2834f3f641
commit c7d01b4593
6 changed files with 22 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func RegisterExplorerHandlers(router *gin.Engine) {
explorer := router.Group("/_explorer")
explorer := router.Group(config.Config.ExplorerBaseUrlLocation)
{
explorer.Use(func(ctx *gin.Context) {
if ctx.Param("filepath") == "/config.json" {