fix: wrong prefix

This commit is contained in:
Derrick Hammer 2024-01-20 06:01:42 -05:00
parent fdef217078
commit 43e52e1ae1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func BuildS5TusApi(portal interfaces.Portal) jape.Handler {
stripPrefix := func(h jape.Handler) jape.Handler {
return jape.Adapt(func(h http.Handler) http.Handler {
return http.StripPrefix("/s5/tus/upload/", h)
return http.StripPrefix("/s5/upload/tus/", h)
})(h)
}