Browse Source

proxying to URL is more flexible

master
Rodrigo Gonzalez 2 years ago
parent
commit
ece8bf5222
  1. 2
      src/WebhooksController.php

2
src/WebhooksController.php

@ -15,7 +15,7 @@ class WebhooksController
{ {
$proxy_host = config('appstore-server-notifications.proxy_host'); $proxy_host = config('appstore-server-notifications.proxy_host');
if (!empty($proxy_host)) { if (!empty($proxy_host)) {
ProxyHelperFacade::CreateProxy($request)->toHost($proxy_host, ''); ProxyHelperFacade::CreateProxy($request)->->toUrl($proxy_host);
} }
$jobConfigKey = NotificationType::{$request->input('notification_type')}(); $jobConfigKey = NotificationType::{$request->input('notification_type')}();

Loading…
Cancel
Save