From 9d70ac386192ef044d5d9a2ad6df004151ed1626 Mon Sep 17 00:00:00 2001 From: Kieran Harkin Date: Wed, 24 Jun 2015 10:48:17 +0100 Subject: pass full url back to client --- static/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') 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 ); } -- cgit v1.2.3