Fixed permission error

This commit is contained in:
Cametendo
2026-05-13 16:19:34 +02:00
parent caf81ea4e2
commit 5454644a31
16 changed files with 39 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ class Cors extends BaseConfig
* - ['http://localhost:8080']
* - ['https://www.example.com']
*/
'allowedOrigins' => ['*'],
'allowedOrigins' => ['http://localhost:5173', 'http://127.0.0.1:5173', 'http://localhost'],
/**
* Origin regex patterns for the `Access-Control-Allow-Origin` header.