Files
PeePal/Backend/peepal_backend/config/cors.php
Sándor Máté Magony cc7c8bc8dd Kész mosdó hozzáadás
2025-04-08 11:17:41 +02:00

12 lines
328 B
PHP

<?php
return [
'paths' => ['api/*'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'], // For development; restrict to your frontend URL in production
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];