From 2c1c9e025c35eb1453a3eb0973c48d180237e44a Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sun, 9 Apr 2023 17:39:19 +0100 Subject: [PATCH] fix returned url --- upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.php b/upload.php index d6e9242..11d1be3 100644 --- a/upload.php +++ b/upload.php @@ -115,7 +115,7 @@ try { if (move_uploaded_file($_FILES["sharex"]["tmp_name"], $uploadDir . $finalName)) { returnJson(array( 'status' => 'OK', - 'url' => 'File uploaded successfully', + 'url' => $finalName, 'timeTaken' => getTimeTaken() )); } else {