summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-03-20 05:02:18 +0800
committertechknowlogick <matti@mdranta.net>2019-03-19 17:02:18 -0400
commitce646fd04bc7c25b9fe979264025a79cd1e5e87b (patch)
tree55960296fd9a5ce4bdc7d75c76341d094dab9def
parentf7f2f12b68b16a2902c00e437fe3299f7ab97249 (diff)
downloadgitea-ce646fd04bc7c25b9fe979264025a79cd1e5e87b.tar.gz
gitea-ce646fd04bc7c25b9fe979264025a79cd1e5e87b.zip
fix bug manifest.json will not request with cookie so that session will created every request (#6372)
-rw-r--r--templates/base/head.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index f34e00772a..8bd2e4bb77 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}</title>
- <link rel="manifest" href="{{AppSubUrl}}/manifest.json">
+ <link rel="manifest" href="{{AppSubUrl}}/manifest.json" crossorigin="use-credentials">
<script>
if ('serviceWorker' in navigator) {