Browse Source

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

for-closed-social
Lunny Xiao 5 years ago
committed by techknowlogick
parent
commit
ce646fd04b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/base/head.tmpl

+ 1
- 1
templates/base/head.tmpl View File

@ -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) {

Loading…
Cancel
Save