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 <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
  • Loading branch information
a1012112796 and lunny committed Mar 31, 2021
1 parent 0ebfc14 commit 13a323e
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 13a323e

Please sign in to comment.