diff --git a/market.php b/market.php index eb15a5e..924ff12 100644 --- a/market.php +++ b/market.php @@ -1,3 +1,3 @@ redirect('app-store/market'); \ No newline at end of file +Typecho_Response::getInstance()->redirect('/index.php/admin/app-store/market'); \ No newline at end of file diff --git a/views/js.php b/views/js.php index affe7c6..cf01786 100644 --- a/views/js.php +++ b/views/js.php @@ -34,7 +34,7 @@ function init() } $.ajax({ - url: 'adminUrl('app-store/install'); ?>', + url: 'getRequestUrl()); ?>', dataType: 'json', data: { version: $version.val(),