fix: missing setting SetTusComposer

This commit is contained in:
Derrick Hammer 2023-05-17 13:34:05 -04:00
parent df08fc980a
commit 80561f89e9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func Init() *tusd.Handler {
composer.UseConcater(store) composer.UseConcater(store)
composer.UseLocker(memorylocker.New()) composer.UseLocker(memorylocker.New())
composer.UseTerminater(store) composer.UseTerminater(store)
shared.SetTusComposer(composer)
handler, err := tusd.NewHandler(tusd.Config{ handler, err := tusd.NewHandler(tusd.Config{
BasePath: "/api/v1" + TUS_API_PATH, BasePath: "/api/v1" + TUS_API_PATH,