chore: remove obsolete python patch scripts and update API key fallback handling in frontend views
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user