]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
[LinkPreview] Fix 'no candidate for action "embedproxy"'
authorMiguel Dantas <biodantasgs@gmail.com>
Wed, 14 Aug 2019 13:25:04 +0000 (14:25 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Wed, 14 Aug 2019 14:32:34 +0000 (15:32 +0100)
plugins/LinkPreview/LinkPreviewPlugin.php

index 0ef43c9e9b85445419f599845502d0390d0c73a9..1e735cab8ed4682e998e8561725034f64cdea838 100644 (file)
@@ -56,7 +56,7 @@ class LinkPreviewPlugin extends Plugin
         if ($user && common_config('attachments', 'process_links')) {
             $action->script($this->path('js/linkpreview.js'));
             $data = json_encode(array(
-                'api' => common_local_url('embedproxy'),
+                'api' => common_local_url('oembedproxy'),
                 'width' => common_config('attachments', 'thumbwidth'),
                 'height' => common_config('attachments', 'thumbheight'),
             ));