First Commit (API Project)

This commit is contained in:
2025-07-17 10:05:47 +09:00
commit ad702d5ccf
371 changed files with 141373 additions and 0 deletions

12
config/cors.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
return [
'paths' => ['api/*'], // CORS를 적용할 경로
'allowed_methods' => ['*'], // 모든 HTTP 메서드 허용
'allowed_origins' => ['*'], // 모든 도메인 허용 (보안 주의)
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'], // 모든 헤더 허용
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];