Skip to content

Commit

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

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

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
  • Loading branch information
2 people authored and 6543 committed Apr 7, 2021
1 parent 711ca0c commit 85f7ecf
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 @@ -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",
Expand Down

0 comments on commit 85f7ecf

Please sign in to comment.