diff options
author | Wolfy-J <[email protected]> | 2018-06-13 23:31:34 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-13 23:31:34 +0300 |
commit | 9d12bc3a752c59e679ab2733d56d0eaff3624c16 (patch) | |
tree | 0acc578a4eae95ef35568e938098a51e5182ae8a /service | |
parent | ee109928585b44194160db4861f0f189bb39f82a (diff) |
more static service tests
Diffstat (limited to 'service')
-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 } |