aboutsummaryrefslogtreecommitdiffstats
path: root/templates/pwa
diff options
context:
space:
mode:
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 c33b7fdb0e..c3e97030c1 100644
--- a/templates/pwa/serviceworker_js.tmpl
+++ b/templates/pwa/serviceworker_js.tmpl
@@ -33,10 +33,10 @@ var urlsToCache = [
'{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css',
{{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }}
- '{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css',
+ '{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}',
{{end}}
{{else if ne DefaultTheme "gitea"}}
- '{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css',
+ '{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}',
{{end}}
// img