summaryrefslogtreecommitdiffstats
path: root/routers/routes/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/routes/routes.go')
-rw-r--r--routers/routes/routes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 679152c0ed..525115fb95 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -1002,6 +1002,10 @@ func RegisterRoutes(m *macaron.Macaron) {
}
})
+ m.Get("/apple-touch-icon.png", func(ctx *context.Context) {
+ ctx.Redirect(path.Join(setting.StaticURLPrefix, "img/apple-touch-icon.png"), 301)
+ })
+
// Progressive Web App
m.Get("/manifest.json", templates.JSONRenderer(), func(ctx *context.Context) {
ctx.HTML(200, "pwa/manifest_json")