From 8483f605037317e9ac266f893d8ef80ff3a6a56e Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 16 Jun 2021 14:04:11 +0300 Subject: - Add origin check for the websockets Signed-off-by: Valery Piashchynski --- tests/worker-origin.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/worker-origin.php (limited to 'tests/worker-origin.php') diff --git a/tests/worker-origin.php b/tests/worker-origin.php new file mode 100644 index 00000000..6ce4de59 --- /dev/null +++ b/tests/worker-origin.php @@ -0,0 +1,14 @@ +waitRequest()) { + $http->respond(200, 'Response', [ + 'Access-Control-Allow-Origin' => ['*'] + ]); +} -- cgit v1.2.3