fix: wrong prefix
This commit is contained in:
parent
fdef217078
commit
43e52e1ae1
|
@ -123,7 +123,7 @@ func BuildS5TusApi(portal interfaces.Portal) jape.Handler {
|
||||||
|
|
||||||
stripPrefix := func(h jape.Handler) jape.Handler {
|
stripPrefix := func(h jape.Handler) jape.Handler {
|
||||||
return jape.Adapt(func(h http.Handler) http.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)
|
})(h)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue