chore: remove obsolete python patch scripts and update API key fallback handling in frontend views

This commit is contained in:
Hamza-Ayed
2026-09-20 00:59:59 +03:00
parent e8f5de585d
commit cff5a8e1ce
28 changed files with 28 additions and 2891 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ def update_file(filepath):
pattern = r'// Sovereign In-App Routing Engine.*?(?=document\.getElementById\(\'stopNavBtn\'\)\.addEventListener)'
new_code = '''// Sovereign In-App Routing Engine (Strict 100% In-House, Zero Google Maps)
const SOVEREIGN_MAP_API_KEY = 'zP9vL5mK2nQ8xR7jT4wS1yB6hG3fV0cX';
const SOVEREIGN_MAP_API_KEY = new URLSearchParams(window.location.search).get('key') || localStorage.getItem('map_admin_key') || localStorage.getItem('intaleq_api_key') || '';
function isPointInCountry(lat, lng, country) {
if (country === 'العراق') return lat >= 29.0 && lat <= 37.5 && lng >= 38.5 && lng <= 49.0;