diff --git a/Web/Presenters/MessengerPresenter.php b/Web/Presenters/MessengerPresenter.php index cc5f6c8b..95b79a13 100644 --- a/Web/Presenters/MessengerPresenter.php +++ b/Web/Presenters/MessengerPresenter.php @@ -67,6 +67,7 @@ final class MessengerPresenter extends OpenVKPresenter function renderVKEvents(int $id): void { + header("Access-Control-Allow-Origin: *"); header("Content-Type: application/json"); if($this->queryParam("act") !== "a_check")