diff --git a/.platform.app.yaml b/.platform.app.yaml index 5603f05..95ea3b8 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -76,8 +76,6 @@ web: - index.php allow: true passthru: "/index.php" - headers: - Access-Control-Allow-Origin: "*" variables: env: diff --git a/config/cors.php b/config/cors.php index 8a39e6d..3720dd1 100644 --- a/config/cors.php +++ b/config/cors.php @@ -15,7 +15,7 @@ | */ - 'paths' => ['api/*', 'sanctum/csrf-cookie'], + 'paths' => ['/*'], 'allowed_methods' => ['*'],