fix: missing setting SetTusComposer
This commit is contained in:
parent
df08fc980a
commit
80561f89e9
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue