mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
Add linter revive (#554)
* Add linter revive * Add underscore to variable name to prevent shadowing * Remove unnecessary leading underscore * Revert changes to vendor file * export ConfigFetcher as interface * no 'yoda conditions' * rename envsubst Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@@ -36,7 +36,7 @@ func New() *gin.Engine {
|
||||
|
||||
e.Use(setupCache)
|
||||
|
||||
h := http.FileServer(web.HttpFS())
|
||||
h := http.FileServer(web.HTTPFS())
|
||||
e.GET("/favicon.svg", gin.WrapH(h))
|
||||
e.GET("/assets/*filepath", gin.WrapH(h))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user