0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 03:04:23 +01:00

fix bug manifest.json will not request with cookie so that session will created every request (#6372)

This commit is contained in:
Lunny Xiao 2019-03-20 05:02:18 +08:00 committed by techknowlogick
parent f7f2f12b68
commit ce646fd04b

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}</title> <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> <script>
if ('serviceWorker' in navigator) { if ('serviceWorker' in navigator) {