From 92b28830581fe590376c78c28ad25e778a08c875 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Wed, 31 Mar 2021 10:56:19 +0800 Subject: [PATCH] add 'fonts' into 'KnownPublicEntries' (#15188) (#15218) fix #15184 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao 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 6695944bd6..ee3d2cf75f 100644 --- a/modules/public/public.go +++ b/modules/public/public.go @@ -27,6 +27,7 @@ type Options struct { // KnownPublicEntries list all direct children in the `public` directory var KnownPublicEntries = []string{ "css", + "fonts", "img", "js", "serviceworker.js",