mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-07-18 17:38:07 +08:00
fix bug
This commit is contained in:
@ -16,6 +16,7 @@ import (
|
||||
)
|
||||
|
||||
func Init(e *gin.Engine) {
|
||||
e.ContextWithFallback = true
|
||||
if !utils.SliceContains([]string{"", "/"}, conf.URL.Path) {
|
||||
e.GET("/", func(c *gin.Context) {
|
||||
c.Redirect(302, conf.URL.Path)
|
||||
|
Reference in New Issue
Block a user