Skip to content

Commit afd9218

Browse files
committed
[assets] fix the loading of the manifest.json
It is generated dynamically, and as such can not be served by the cdn. Signed-off-by: Jakob Ackermann <[email protected]>
1 parent f219cac commit afd9218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/head.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}}</title>
8-
<link rel="manifest" href="{{StaticUrlPrefix}}/manifest.json" crossorigin="use-credentials">
8+
<link rel="manifest" href="{{AppSubUrl}}/manifest.json" crossorigin="use-credentials">
99

1010
<script>
1111
if ('serviceWorker' in navigator) {

0 commit comments

Comments
 (0)