diff options
| -rw-r--r-- | static/upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/upload.php b/static/upload.php index 5675eeb..4a209f3 100644 --- a/static/upload.php +++ b/static/upload.php @@ -86,7 +86,7 @@ function upload_file ($file) { return array( 'hash' => $file->get_sha1(), 'name' => $file->name, - 'url' => POMF_URL . $result['filename'], + 'url' => $result['filename'], 'size' => $file->size ); } @@ -125,7 +125,7 @@ function upload_file ($file) { return array( 'hash' => $file->get_sha1(), 'name' => $file->name, - 'url' => $newname, + 'url' => POMF_URL . $newname, 'size' => $file->size ); } else { |
