summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorKieran Harkin <kieran@harkin.me>2015-06-24 11:48:17 +0200
committerKieran Harkin <kieran@harkin.me>2015-06-24 11:48:17 +0200
commit9d70ac386192ef044d5d9a2ad6df004151ed1626 (patch)
tree5a1d73ef78b7a42133a29545130e24f20963545c /static
parent3ffec35e4839069d32dcb60377888d0ab2289023 (diff)
pass full url back to client
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..5675eeb 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' => $result['filename'],
+ 'url' => POMF_URL . $result['filename'],
'size' => $file->size
);
}