diff --git a/src/WebhooksController.php b/src/WebhooksController.php index 8027787..f9cb350 100644 --- a/src/WebhooksController.php +++ b/src/WebhooksController.php @@ -15,7 +15,7 @@ class WebhooksController { $proxy_host = config('appstore-server-notifications.proxy_host'); if (!empty($proxy_host)) { - ProxyHelperFacade::CreateProxy($request)->toHost($proxy_host, ''); + ProxyHelperFacade::CreateProxy($request)->->toUrl($proxy_host); } $jobConfigKey = NotificationType::{$request->input('notification_type')}();