Skip to content

Commit

Permalink
add 'fonts' into 'KnownPublicEntries' (#15188)
Browse files Browse the repository at this point in the history
fix #15184

Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
  • Loading branch information
a1012112796 and lunny authored Mar 30, 2021
1 parent d099f08 commit f5b6dc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/public/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f5b6dc9

Please sign in to comment.