mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 15:42:25 +00:00
add 'fonts' into 'KnownPublicEntries' (#15188)
fix #15184 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
d099f0858f
commit
f5b6dc9759
|
@ -27,6 +27,7 @@ type Options struct {
|
||||||
// KnownPublicEntries list all direct children in the `public` directory
|
// KnownPublicEntries list all direct children in the `public` directory
|
||||||
var KnownPublicEntries = []string{
|
var KnownPublicEntries = []string{
|
||||||
"css",
|
"css",
|
||||||
|
"fonts",
|
||||||
"img",
|
"img",
|
||||||
"js",
|
"js",
|
||||||
"serviceworker.js",
|
"serviceworker.js",
|
||||||
|
|
Loading…
Reference in a new issue