Skip to content

Commit

Permalink
Add icon support for safari (#24697)
Browse files Browse the repository at this point in the history
Co-authored-by: Giteabot <[email protected]>
  • Loading branch information
lunny and GiteaBot authored May 13, 2023
1 parent 82224c5 commit 3075b99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func Routes(ctx gocontext.Context) *web.Route {
routes.RouteMethods("/avatars/*", "GET, HEAD", storageHandler(setting.Avatar.Storage, "avatars", storage.Avatars))
routes.RouteMethods("/repo-avatars/*", "GET, HEAD", storageHandler(setting.RepoAvatar.Storage, "repo-avatars", storage.RepoAvatars))
routes.RouteMethods("/apple-touch-icon.png", "GET, HEAD", misc.StaticRedirect("/assets/img/apple-touch-icon.png"))
routes.RouteMethods("/apple-touch-icon-precomposed.png", "GET, HEAD", misc.StaticRedirect("/assets/img/apple-touch-icon.png"))
routes.RouteMethods("/favicon.ico", "GET, HEAD", misc.StaticRedirect("/assets/img/favicon.png"))

_ = templates.HTMLRenderer()
Expand Down

0 comments on commit 3075b99

Please sign in to comment.