Skip to content

Commit

Permalink
Add a /
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Nov 26, 2024
1 parent de72ffe commit 94bdc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Images/ImageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function optimize_image( $image_url, $original_file_path ) {

// Make a POST request to the Cloudflare Worker
$response = wp_remote_post(
self::WORKER_URL . '?image=' . rawurlencode( $image_url ),
self::WORKER_URL . '/?image=' . rawurlencode( $image_url ),
array(
'method' => 'POST',
'timeout' => 30,
Expand Down

0 comments on commit 94bdc81

Please sign in to comment.