alist/server/controllers/other.go

11 lines
166 B
Go

package controllers
import (
"github.com/Xhofe/alist/conf"
"github.com/gin-gonic/gin"
)
func Favicon(c *gin.Context) {
c.Redirect(302, conf.GetStr("favicon"))
}