fix hardcoded basePath
This commit is contained in:
parent
eb9100e9bb
commit
67d7757e9f
|
@ -89,7 +89,7 @@ func main() {
|
||||||
|
|
||||||
handler, err := tusd.NewHandler(tusd.Config{
|
handler, err := tusd.NewHandler(tusd.Config{
|
||||||
MaxSize: maxSize,
|
MaxSize: maxSize,
|
||||||
BasePath: "files/",
|
BasePath: basepath,
|
||||||
DataStore: store,
|
DataStore: store,
|
||||||
NotifyCompleteUploads: true,
|
NotifyCompleteUploads: true,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue