From 4147cc91ed07666613fa84cd8caffde9b1a8b916 Mon Sep 17 00:00:00 2001 From: Alexey 〒erentyev Date: Thu, 19 Dec 2019 06:35:03 +0300 Subject: Fix background reactions in the arc-green theme (#9421) * Fixed arc-green theme reactions background Signed-off-by: Alexey Terentyev * Added MD5 AppVer Signed-off-by: Alexey Terentyev --- templates/pwa/serviceworker_js.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/pwa/serviceworker_js.tmpl') 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 -- cgit v1.2.3