diff --git a/src/Tus/Server.php b/src/Tus/Server.php index 8c4d353..2df8dc5 100644 --- a/src/Tus/Server.php +++ b/src/Tus/Server.php @@ -366,7 +366,7 @@ protected function handlePost(): HttpResponse } $checksum = $this->getClientChecksum(); - $location = $this->getRequest()->url() . $this->getApiPath() . '/' . $uploadKey; + $location = $this->getApiPath() . '/' . $uploadKey; $file = $this->buildFile([ 'name' => $fileName,