From a03845db4bce5e98062e4755292de8223b8ff99d Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 13 Jun 2021 19:42:44 +1000 Subject: [PATCH] Remove api prefix from cors paths (#58) --- config/cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cors.php b/config/cors.php index 8a39e6d..9d9a745 100644 --- a/config/cors.php +++ b/config/cors.php @@ -15,7 +15,7 @@ | */ - 'paths' => ['api/*', 'sanctum/csrf-cookie'], + 'paths' => ['*', 'sanctum/csrf-cookie'], 'allowed_methods' => ['*'],