From 9cee90c8ee18e079f5124c3459f69ff8c29f3904 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Fri, 17 Feb 2023 22:08:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20public=20=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=9A=84=20CORS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cors.php b/config/cors.php index ec9ac6d..d4c3d34 100644 --- a/config/cors.php +++ b/config/cors.php @@ -15,7 +15,7 @@ | */ - 'paths' => ['api', 'api/', 'api/*', 'sanctum/csrf-cookie', 'broadcasting/*'], + 'paths' => ['api', 'api/', 'api/*', 'public/*', 'sanctum/csrf-cookie', 'broadcasting/*'], 'allowed_methods' => ['*'],