chore: code clean

This commit is contained in:
Steven
2023-07-04 21:22:47 +08:00
parent f0334d5755
commit ee9e092129
3 changed files with 4 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ import (
)
func (*APIV1Service) registerURLUtilRoutes(g *echo.Group) {
// GET /url/favicon?url=...
g.GET("/url/favicon", func(c echo.Context) error {
url := c.QueryParam("url")
icons, err := favicon.Find(url)