1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Update docs and comments to remove macaron (#14491)

This commit is contained in:
Lunny Xiao
2021-01-29 23:35:30 +08:00
committed by GitHub
parent 25b6255b92
commit 0cd87d64ff
29 changed files with 32 additions and 78 deletions

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