upload not responding as actual json

This commit is contained in:
ProjectPatatoe 2021-03-13 13:37:42 -08:00
commit 76d712e8dc

View file

@ -47,6 +47,7 @@ if (login()) {
} }
} }
header('Content-Type: application/json');
echo json_encode(array( echo json_encode(array(
'path' => $path, 'path' => $path,
'name' => $name, 'name' => $name,