Commit ddd3b81c authored by redndahead's avatar redndahead Committed by jcisio
Browse files

Issue #2717517 by redndahead: Update reSmush.it endpoint

parent 234f2088
...@@ -20,7 +20,7 @@ function imageapi_optimize_services_resmushit_info() { ...@@ -20,7 +20,7 @@ function imageapi_optimize_services_resmushit_info() {
*/ */
function imageapi_optimize_services_resmushit($image, $dst) { function imageapi_optimize_services_resmushit($image, $dst) {
$dst = drupal_realpath($dst); $dst = drupal_realpath($dst);
$url = 'http://www.resmush.it/ws.php'; $url = 'http://api.resmush.it/ws.php';
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment