mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
pluginhost: add helper methods to get private/public pluginmethod endpoint URLs
This commit is contained in:
@@ -141,8 +141,7 @@ class Af_Proxy_Http extends Plugin {
|
||||
}
|
||||
}
|
||||
|
||||
return get_self_url_prefix() . "/public.php?op=pluginhandler&plugin=af_proxy_http&pmethod=imgproxy&url=" .
|
||||
urlencode($url);
|
||||
return $this->host->get_public_method_url($this, "imgproxy", ["url" => $url]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user