diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-03-20 10:19:16 +0800 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-19 22:19:16 -0400 |
commit | 00619a04f7aee8141484e6dea67ad2d8d06e5340 (patch) | |
tree | 32419e5de3ac1da8f6deffba028dc5e072ea095a /templates | |
parent | 16815306ad97488b35b7d6786fac24dea3907610 (diff) | |
download | gitea-00619a04f7aee8141484e6dea67ad2d8d06e5340.tar.gz gitea-00619a04f7aee8141484e6dea67ad2d8d06e5340.zip |
fix bug manifest.json will not request with cookie so that session will created every request (#6372) (#6382)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 8c2b4c1357..8d40c26fdc 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}}{{AppName}}</title> - <link rel="manifest" href="{{AppSubUrl}}/manifest.json"> + <link rel="manifest" href="{{AppSubUrl}}/manifest.json" crossorigin="use-credentials"> <script> if ('serviceWorker' in navigator) { |