From 1d3d111722d24804cd4e6bce2b96dd913fac3636 Mon Sep 17 00:00:00 2001 From: mahdihty Date: Mon, 8 Mar 2021 18:20:06 +0330 Subject: [PATCH] some change in cors config --- config/cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cors.php b/config/cors.php index 8a39e6d..b2930d0 100644 --- a/config/cors.php +++ b/config/cors.php @@ -21,7 +21,7 @@ return [ 'allowed_origins' => ['*'], - 'allowed_origins_patterns' => [], + 'allowed_origins_patterns' => ['Content-Type', 'X-Requested-With'], 'allowed_headers' => ['*'],