Browse Source

Service worker js is a missing comma (#6788)

Fix #6787
tags/v1.9.0-rc1
techknowlogick GitHub 7 years ago
parent
commit
acacf1f80c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/pwa/serviceworker_js.tmpl

+ 2
- 2
templates/pwa/serviceworker_js.tmpl 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


Loading…
Cancel
Save