summaryrefslogtreecommitdiffstats
path: root/templates/pwa
diff options
context:
space:
mode:
authorAlexey 〒erentyev <axifnx@gmail.com>2019-12-19 06:35:03 +0300
committertechknowlogick <techknowlogick@gitea.io>2019-12-18 22:35:03 -0500
commit4147cc91ed07666613fa84cd8caffde9b1a8b916 (patch)
treeacf525d1ef8fdb3a00b8ec7083a00751c2779126 /templates/pwa
parent559fb6ccf03d6b6d128e7100b891cc758a85302e (diff)
downloadgitea-4147cc91ed07666613fa84cd8caffde9b1a8b916.tar.gz
gitea-4147cc91ed07666613fa84cd8caffde9b1a8b916.zip
Fix background reactions in the arc-green theme (#9421)
* Fixed arc-green theme reactions background Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Added MD5 AppVer Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
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