refactor: move strip prefix to be last

This commit is contained in:
Derrick Hammer 2024-01-20 08:15:27 -05:00
parent 24e841ae97
commit 07c36109d8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func BuildS5TusApi(portal interfaces.Portal) jape.Handler {
} }
// Apply the middlewares to the tusJapeHandler // Apply the middlewares to the tusJapeHandler
tusHandler := ApplyMiddlewares(tusJapeHandler, stripPrefix, authMiddlewareFunc, injectJwt, protocolMiddleware) tusHandler := ApplyMiddlewares(tusJapeHandler, authMiddlewareFunc, injectJwt, protocolMiddleware, stripPrefix)
return tusHandler return tusHandler
} }