diff --git a/handlers.go b/handlers.go index e2476db..89a4473 100755 --- a/handlers.go +++ b/handlers.go @@ -59,7 +59,8 @@ func handlePageRequest(c *gin.Context) { page := c.Param("page") command := c.Param("command") if len(command) < 2 { - command = "/ " + c.Redirect(302, "/"+page+"/view") + return } // Serve static content from memory if page == "static" {