File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,8 @@ func CustomAssets() *assetfs.Layer {
32
32
return assetfs .Local ("custom" , setting .CustomPath , "public" )
33
33
}
34
34
35
- func StaticAssets () * assetfs.Layer {
36
- return assetfs .Local ("static" , setting .StaticRootPath , "public" )
37
- }
38
-
39
35
func AssetFS () * assetfs.LayeredFS {
40
- if setting .HasBuiltinBindata {
41
- return assetfs .Layered (CustomAssets (), StaticAssets (), BuiltinAssets ()) // old behavior: always include StaticAssets
42
- } else {
43
- return assetfs .Layered (CustomAssets (), BuiltinAssets ()) // now BuiltinAssets is StaticAssets
44
- }
36
+ return assetfs .Layered (CustomAssets (), BuiltinAssets ())
45
37
}
46
38
47
39
// AssetsHandlerFunc implements the static handler for serving custom or original assets.
You can’t perform that action at this time.
0 commit comments