Remove nonexistent PHP 8.5 constraint, restrict CORS allowed_headers

This commit is contained in:
root
2026-05-26 17:08:31 +02:00
parent 769abddeca
commit e754858c84
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
], ],
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^8.1|^8.2|^8.3|^8.4|^8.5", "php": "^8.1|^8.2|^8.3|^8.4",
"ext-sockets": "*", "ext-sockets": "*",
"doctrine/dbal": "^4.0", "doctrine/dbal": "^4.0",
"filament/filament": "^5.0", "filament/filament": "^5.0",
+1 -1
View File
@@ -25,7 +25,7 @@ return [
'allowed_origins_patterns' => [], 'allowed_origins_patterns' => [],
'allowed_headers' => ['*'], 'allowed_headers' => ['Content-Type', 'X-Requested-With', 'Authorization', 'X-XSRF-TOKEN'],
'exposed_headers' => [], 'exposed_headers' => [],