diff --git a/cmd/tusd/cli/serve.go b/cmd/tusd/cli/serve.go index f7232ba..fc63fd7 100644 --- a/cmd/tusd/cli/serve.go +++ b/cmd/tusd/cli/serve.go @@ -61,7 +61,7 @@ func Serve() { if basepath == "/" { // If the basepath is set to the root path, only install the tusd handler // and do not show a greeting. - http.Handle("/", handler) + http.Handle("/", http.StripPrefix("/", handler)) } else { // If a custom basepath is defined, we show a greeting at the root path... http.HandleFunc("/", DisplayGreeting)