diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2020-02-17 17:11:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 23:11:59 +0000 |
commit | e76a64dda173db84e34eefc6baaa2981fe4a6801 (patch) | |
tree | 649a0606dfbb7eb55ac6d99a42fcfe8d62453172 /templates/pwa | |
parent | 05c1f2b45c168bbf3ec9192f424798846c452d57 (diff) | |
download | gitea-e76a64dda173db84e34eefc6baaa2981fe4a6801.tar.gz gitea-e76a64dda173db84e34eefc6baaa2981fe4a6801.zip |
Inject SVG sprite via ajax (#10320)
* AJAX SVG
* Fix PWA
* Remove unused PWA assets
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-Authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates/pwa')
-rw-r--r-- | templates/pwa/serviceworker_js.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index f1dd63a250..5e4cb57984 100644 --- a/templates/pwa/serviceworker_js.tmpl +++ b/templates/pwa/serviceworker_js.tmpl @@ -22,7 +22,6 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/css/swagger.css?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/fomantic/semantic.min.css?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css', - '{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.min.css', '{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css', '{{StaticUrlPrefix}}/vendor/plugins/jquery.datetimepicker/jquery.datetimepicker.css', '{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.css', @@ -41,11 +40,10 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/img/gitea-lg.png', // svg - '{{StaticUrlPrefix}}/img/svg/icons.svg' + '{{StaticUrlPrefix}}/img/svg/icons.svg', // fonts '{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/icons.woff2', - '{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6', '{{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', |