From 7d1e9bee0b1287fabb76a0b2732f5132b47883b5 Mon Sep 17 00:00:00 2001 From: overtrue Date: Wed, 4 Sep 2019 14:47:17 +0800 Subject: [PATCH] Add location --- src/LaravelUploader/Response.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LaravelUploader/Response.php b/src/LaravelUploader/Response.php index 2413ede..4b7be00 100644 --- a/src/LaravelUploader/Response.php +++ b/src/LaravelUploader/Response.php @@ -111,6 +111,7 @@ public function toArray() 'url' => $this->url, 'filename' => $this->filename, 'relative_url' => $this->relativeUrl, + 'location' => $this->relativeUrl, 'original_name' => $this->originalName, ]; }