From bfd33088b4f20ef84e882b8304003578e8fc1f5a Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 7 Apr 2021 09:20:42 +0200 Subject: [PATCH] add 'fonts' into 'KnownPublicEntries' (#15188) (#15317) fix #15184 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao --- modules/public/public.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/public/public.go b/modules/public/public.go index 95e11a3ef4..62eef96527 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",