summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorEric Johansson (neku) <neku@pomf.se>2015-07-02 21:11:04 +0200
committerEric Johansson (neku) <neku@pomf.se>2015-07-02 21:11:04 +0200
commit51438bb7ebc562b7f53f911a0790b21cbf7891bb (patch)
tree1566c8a17c1de2c048076f30d87f85be4bc5681a /static
parent3ffec35e4839069d32dcb60377888d0ab2289023 (diff)
parent0b57a76fe439459524b248cabaf8a477b7dcc003 (diff)
Merge pull request #36 from v0l/master
Pass back propper url after upload
Diffstat (limited to 'static')
-rw-r--r--static/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/upload.php b/static/upload.php
index 7756e03..4a209f3 100644
--- a/static/upload.php
+++ b/static/upload.php
@@ -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 {