Service worker js is a missing comma (#6788)

Fix #6787
release/v1.15
techknowlogick 2019-04-28 21:45:05 -04:00 committed by GitHub
parent 3d26b3f216
commit 9a838cff61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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