Skip to content

Commit 3075b99

Browse files
lunnyGiteaBot
andauthored
Add icon support for safari (#24697)
Co-authored-by: Giteabot <[email protected]>
1 parent 82224c5 commit 3075b99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/web.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ func Routes(ctx gocontext.Context) *web.Route {
112112
routes.RouteMethods("/avatars/*", "GET, HEAD", storageHandler(setting.Avatar.Storage, "avatars", storage.Avatars))
113113
routes.RouteMethods("/repo-avatars/*", "GET, HEAD", storageHandler(setting.RepoAvatar.Storage, "repo-avatars", storage.RepoAvatars))
114114
routes.RouteMethods("/apple-touch-icon.png", "GET, HEAD", misc.StaticRedirect("/assets/img/apple-touch-icon.png"))
115+
routes.RouteMethods("/apple-touch-icon-precomposed.png", "GET, HEAD", misc.StaticRedirect("/assets/img/apple-touch-icon.png"))
115116
routes.RouteMethods("/favicon.ico", "GET, HEAD", misc.StaticRedirect("/assets/img/favicon.png"))
116117

117118
_ = templates.HTMLRenderer()

0 commit comments

Comments
 (0)