diff --git a/main.go b/main.go index 228e00c..1f6ad75 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,6 @@ package main import ( "fmt" - "net/http" "path/filepath" "time" @@ -53,14 +52,6 @@ func main() { router.Use(gin.ErrorLogger()) - router.Use(func(c *gin.Context) { - path := c.Request.URL.Path - if path == "" || path == "/" { - c.Redirect(http.StatusMovedPermanently, "/my-drive") - } - c.Next() - }) - routes.AddRoutes(router) ui.AddRoutes(router) diff --git a/ui/teldrive-ui b/ui/teldrive-ui index 7fbdc88..8e11e1b 160000 --- a/ui/teldrive-ui +++ b/ui/teldrive-ui @@ -1 +1 @@ -Subproject commit 7fbdc887c22324943bd39aa6ae681ba709c77be7 +Subproject commit 8e11e1bac18ea9837cd2b250ad22b1beffff5c94