fix returned url

This commit is contained in:
Lee 2023-04-09 17:39:19 +01:00
parent 7ecf840d40
commit 2c1c9e025c

@ -115,7 +115,7 @@ try {
if (move_uploaded_file($_FILES["sharex"]["tmp_name"], $uploadDir . $finalName)) { if (move_uploaded_file($_FILES["sharex"]["tmp_name"], $uploadDir . $finalName)) {
returnJson(array( returnJson(array(
'status' => 'OK', 'status' => 'OK',
'url' => 'File uploaded successfully', 'url' => $finalName,
'timeTaken' => getTimeTaken() 'timeTaken' => getTimeTaken()
)); ));
} else { } else {