Skip to content

Commit 85f7ecf

Browse files
a1012112796lunny
authored andcommitted
add 'fonts' into 'KnownPublicEntries' (go-gitea#15188)
fix go-gitea#15184 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 parent 711ca0c commit 85f7ecf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/public/public.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ type Options struct {
3434
// KnownPublicEntries list all direct children in the `public` directory
3535
var KnownPublicEntries = []string{
3636
"css",
37+
"fonts",
3738
"img",
3839
"js",
3940
"serviceworker.js",

0 commit comments

Comments
 (0)