mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Add valid CORS header to longpool emulator
This commit is contained in:
parent
b2f069f75f
commit
3fa401bf5d
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue