Skip to content

Commit 67085e1

Browse files
committed
remove manifest.json
1 parent 323e769 commit 67085e1

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

routers/routes/routes.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,11 +1043,6 @@ func RegisterRoutes(m *macaron.Macaron) {
10431043
ctx.Redirect(path.Join(setting.StaticURLPrefix, "img/apple-touch-icon.png"), 301)
10441044
})
10451045

1046-
// Progressive Web App
1047-
m.Get("/manifest.json", templates.JSONRenderer(), func(ctx *context.Context) {
1048-
ctx.HTML(200, "pwa/manifest_json")
1049-
})
1050-
10511046
// prometheus metrics endpoint
10521047
if setting.Metrics.Enabled {
10531048
c := metrics.NewCollector()

templates/base/head.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta http-equiv="x-ua-compatible" content="ie=edge">
77
<title>{{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} </title>
8-
<link rel="manifest" href="{{AppSubUrl}}/manifest.json" crossorigin="use-credentials">
98
<meta name="theme-color" content="{{ThemeColorMetaTag}}">
109
<meta name="author" content="{{if .Repository}}{{.Owner.Name}}{{else}}{{MetaAuthor}}{{end}}" />
1110
<meta name="description" content="{{if .Repository}}{{.Repository.Name}}{{if .Repository.Description}} - {{.Repository.Description}}{{end}}{{else}}{{MetaDescription}}{{end}}" />

templates/pwa/manifest_json.tmpl

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)