Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Mar 1, 2022
1 parent 6042f24 commit 1e91122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/ocdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (s *svc) Handler() http.Handler {
token := r.URL.Path
rURL, _ := url.ParseRequestURI(s.c.PublicURL)
rURL.Path = path.Join(head, token)

http.Redirect(w, r, rURL.String(), http.StatusMovedPermanently)
return
}
Expand Down

0 comments on commit 1e91122

Please sign in to comment.