summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-05-24 23:12:02 +0200
committerGitHub <noreply@github.com>2020-05-25 00:12:02 +0300
commit339f5bb397feb015b97b9c06c9b028ba6b57fdcf (patch)
treed2973698b7a7f4e5be44cafb86f760ad23e30cb5 /templates
parent1ae5435e41404d183f8d5561fe057a2568809e82 (diff)
downloadgitea-339f5bb397feb015b97b9c06c9b028ba6b57fdcf.tar.gz
gitea-339f5bb397feb015b97b9c06c9b028ba6b57fdcf.zip
Fix serviceworker output file and misc improvements (#11562) (#11610)
* Fix serviceworker output file and misc improvements - Fix output file location for production build - Cache more asset types: fonts and worker variants - Parallelize a few tasks during initalization - Only invalidate caches starting with our prefix - Remove public/serviceworker.js before building - Remove font preloads, they cause strange cors issues - Misc eslint config adjustments * remove webpack output files on watch-frontend
Diffstat (limited to 'templates')
-rw-r--r--templates/base/head.tmpl2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 0234d2e297..37119e5e3a 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -92,8 +92,6 @@
<link rel="mask-icon" href="{{StaticUrlPrefix}}/img/gitea-safari.svg" color="#609926">
<link rel="fluid-icon" href="{{StaticUrlPrefix}}/img/gitea-lg.png" title="{{AppName}}">
<link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css">
- <link rel="preload" as="font" href="{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/icons.woff2" type="font/woff2" crossorigin="anonymous">
- <link rel="preload" as="font" href="{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/outline-icons.woff2" type="font/woff2" crossorigin="anonymous">
{{if .RequireSimpleMDE}}
<link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css">
{{end}}