From bbcffe8d745937677352edf25e6a250ca8fd507b Mon Sep 17 00:00:00 2001 From: pantsucat Date: Thu, 17 Sep 2015 21:04:18 +1000 Subject: Fix to work with sharex --- 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 0504e54..4dc45a3 100644 --- a/static/upload.php +++ b/static/upload.php @@ -97,7 +97,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, ); } -- cgit v1.2.3