[LinkPreview] Fix 'no candidate for action "embedproxy"'
This commit is contained in:
parent
357296baeb
commit
0bb35d7e7f
|
@ -56,7 +56,7 @@ class LinkPreviewPlugin extends Plugin
|
||||||
if ($user && common_config('attachments', 'process_links')) {
|
if ($user && common_config('attachments', 'process_links')) {
|
||||||
$action->script($this->path('js/linkpreview.js'));
|
$action->script($this->path('js/linkpreview.js'));
|
||||||
$data = json_encode(array(
|
$data = json_encode(array(
|
||||||
'api' => common_local_url('embedproxy'),
|
'api' => common_local_url('oembedproxy'),
|
||||||
'width' => common_config('attachments', 'thumbwidth'),
|
'width' => common_config('attachments', 'thumbwidth'),
|
||||||
'height' => common_config('attachments', 'thumbheight'),
|
'height' => common_config('attachments', 'thumbheight'),
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user