aboutsummaryrefslogtreecommitdiffstats
path: root/templates/pwa
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-01-25 23:47:42 +0200
committerGitHub <noreply@github.com>2020-01-25 23:47:42 +0200
commit59510d6227962a455c8276a5f3330215fb67f747 (patch)
tree3bb7d9133953b697821a818b85eddf632d85acfe /templates/pwa
parent1703a63da624abfe5b227e0ae997d5a9480fef27 (diff)
downloadgitea-59510d6227962a455c8276a5f3330215fb67f747.tar.gz
gitea-59510d6227962a455c8276a5f3330215fb67f747.zip
Change font to Roboto to support more charsets (#9803)
Diffstat (limited to 'templates/pwa')
-rw-r--r--templates/pwa/serviceworker_js.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl
index 72edf232bc..d89713eb16 100644
--- a/templates/pwa/serviceworker_js.tmpl
+++ b/templates/pwa/serviceworker_js.tmpl
@@ -46,8 +46,10 @@ var urlsToCache = [
// fonts
'{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/icons.woff2',
'{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6',
- '{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2',
- '{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-700.woff2'
+ '{{StaticUrlPrefix}}/vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff2',
+ '{{StaticUrlPrefix}}/vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff2',
+ '{{StaticUrlPrefix}}/vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff2',
+ '{{StaticUrlPrefix}}/vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff2'
];
self.addEventListener('install', function (event) {