diff options
Diffstat (limited to 'service/static/service.go')
-rw-r--r-- | service/static/service.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/static/service.go b/service/static/service.go index 1631f610..a89cb495 100644 --- a/service/static/service.go +++ b/service/static/service.go @@ -58,6 +58,7 @@ func (s *Service) Stop() {} // middleware must return true if request/response pair is handled withing the middleware. func (s *Service) middleware(w http.ResponseWriter, r *http.Request) bool { fPath := r.URL.Path + if !strings.HasPrefix(fPath, "/") { fPath = "/" + fPath } |