fix: lint errors
This commit was merged in pull request #130.
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
|
||||
func CacheControl(next http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
shouldCache := strings.HasPrefix(r.URL.Path, "/static")
|
||||
|
||||
if !shouldCache {
|
||||
|
||||
Reference in New Issue
Block a user