summaryrefslogtreecommitdiffstats
path: root/templates/pwa
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-04-28 21:45:05 -0400
committerGitHub <noreply@github.com>2019-04-28 21:45:05 -0400
commit9a838cff61d601a0de8e9f4abf9ee393054ac0e2 (patch)
tree9ee959c63bf0ec0ff0c2d0a6e400f18aa8d6726f /templates/pwa
parent3d26b3f2169cca1ad79d5ebfad3ef3b7bb892349 (diff)
downloadgitea-9a838cff61d601a0de8e9f4abf9ee393054ac0e2.tar.gz
gitea-9a838cff61d601a0de8e9f4abf9ee393054ac0e2.zip
Service worker js is a missing comma (#6788)
Fix #6787
Diffstat (limited to 'templates/pwa')
-rw-r--r--templates/pwa/serviceworker_js.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl
index f109d06300..5995fc3144 100644
--- a/templates/pwa/serviceworker_js.tmpl
+++ b/templates/pwa/serviceworker_js.tmpl
@@ -34,10 +34,10 @@ var urlsToCache = [
'{{AppSubUrl}}/vendor/plugins/dropzone/dropzone.css',
{{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }}
- '{{AppSubUrl}}/css/theme-{{.SignedUser.Theme}}.css'
+ '{{AppSubUrl}}/css/theme-{{.SignedUser.Theme}}.css',
{{end}}
{{else if ne DefaultTheme "gitea"}}
- '{{AppSubUrl}}/css/theme-{{DefaultTheme}}.css'
+ '{{AppSubUrl}}/css/theme-{{DefaultTheme}}.css',
{{end}}
// img