diff --git a/code/KickAssets.php b/code/KickAssets.php
index <HASH>..<HASH> 100644
--- a/code/KickAssets.php
+++ b/code/KickAssets.php
@@ -433,7 +433,7 @@ class KickAssets extends LeftAndMain {
 		$types = explode(',',$r->getVar('allowedTypes'));
 		
 		return Convert::array2json(array(
-			'baseRoute' => $this->Link(),
+			'baseRoute' => Controller::join_links(Director::baseURL(), $this->Link()),
 			'maxFilesize' => FileAttachmentField::get_filesize_from_ini(),
 			'allowedExtensions' => implode(',', $exts),
 			'thumbnailsDir' => DROPZONE_DIR.'/images/file-icons',
Fix for issue #<I>

Prefix baseRoute with baseURL to resolve issue #<I>