aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author65432021-04-07 09:20:42 +0200
committerGitHub2021-04-07 08:20:42 +0100
commitbfd33088b4f20ef84e882b8304003578e8fc1f5a (patch)
tree71b8a966d75128106dcd142578c8ebe389bc82f6
parent711ca0c410a618b1e269d4348f545cec68347436 (diff)
add 'fonts' into 'KnownPublicEntries' (#15188) (#15317)
fix #15184 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r--modules/public/public.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/public/public.go b/modules/public/public.go
index 95e11a3ef..62eef9652 100644
--- a/modules/public/public.go
+++ b/modules/public/public.go
@@ -34,6 +34,7 @@ type Options struct {
// KnownPublicEntries list all direct children in the `public` directory
var KnownPublicEntries = []string{
"css",
+ "fonts",
"img",
"js",
"serviceworker.js",