From f5b6dc9759e8077f76072dbb01586f9876ccafbf Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Tue, 30 Mar 2021 20:47:34 +0800 Subject: [PATCH] add 'fonts' into 'KnownPublicEntries' (#15188) fix #15184 Signed-off-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 6695944bd..ee3d2cf75 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",