Fix hardcoded jordan-siro URL in location server and origins

This commit is contained in:
Hamza-Ayed
2026-08-01 18:27:52 +03:00
parent ff91d95dba
commit 998cad6756
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ header('Content-Type: application/json');
// ✅ FIX H-03: allowlist صارم للـ Admin Origins
$allowedOrigins = array_filter([
getenv('ALLOWED_ORIGIN') ?: 'https://siromove.com',
'https://jordan-siro.intaleqapp.com',
'https://api.intaleqapp.com',
'http://localhost',
'http://127.0.0.1',
]);