Browse Source

Merge pull request #445 from ProjectPatatoe/jsonfix

upload not responding as actual json by @ProjectPatatoe
pull/452/head
Dan 4 years ago
committed by GitHub
parent
commit
99e92d4a34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      upload.php

+ 1
- 0
upload.php View File

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


Loading…
Cancel
Save