diff --git a/src/Controller/ApiWebhookController.php b/src/Controller/ApiWebhookController.php index 24b7bde..a1579e3 100644 --- a/src/Controller/ApiWebhookController.php +++ b/src/Controller/ApiWebhookController.php @@ -34,8 +34,7 @@ class ApiWebhookController extends ControllerBase implements ControllerInterface $allowed_origins = [ 'http://127.0.0.1:8088', 'http://localhost:8088', - 'https://yourproduction-site.com', - 'https://another-client-site.io' + 'https://code.danchadwick.dev', ]; $origin = $_SERVER['HTTP_ORIGIN'] ?? ''; // Check if the requester is in our whitelist