🎇 close #512 favicon redirect
This commit is contained in:
10
server/controllers/other.go
Normal file
10
server/controllers/other.go
Normal file
@ -0,0 +1,10 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/Xhofe/alist/conf"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Favicon(c *gin.Context) {
|
||||
c.Redirect(302, conf.GetStr("favicon"))
|
||||
}
|
Reference in New Issue
Block a user