Update docs and comments to remove macaron (#14491)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2021-01-29 16:35:30 +01:00
1 parent 25b6255b92
commit 0cd87d64ff
29 files changed
+32 -78

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ import (
"code.gitea.io/gitea/modules/log"
)
// Static implements the macaron static handler for serving assets.
// Static implements the static handler for serving assets.
func Static(opts *Options) func(next http.Handler) http.Handler {
opts.FileSystem = Assets
// we don't need to pass the directory, because the directory var is only