diff options
-rw-r--r-- | service/static/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/static/service.go b/service/static/service.go index a89cb495..43891aa8 100644 --- a/service/static/service.go +++ b/service/static/service.go @@ -79,7 +79,7 @@ func (s *Service) middleware(w http.ResponseWriter, r *http.Request) bool { return false } - // do not middleware directories + // do not serve directories if d.IsDir() { return false } |