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
@@ -11,7 +11,7 @@ import { useLanguage } from '../i18n';
type Key = { id: string; key: string; name: string };
type PlaygroundMode = 'search' | 'routing' | 'layers' | 'spatial';
const DEFAULT_SOVEREIGN_KEY = 'zP9vL5mK2nQ8xR7jT4wS1yB6hG3fV0cX';
const DEFAULT_SOVEREIGN_KEY = (import.meta as any).env.VITE_API_KEY || (import.meta as any).env.VITE_ADMIN_API_KEY || localStorage.getItem('map_admin_key') || localStorage.getItem('intaleq_api_key') || '';
interface RoutingResult {
distanceKm?: number;
+1 -1
View File
@@ -612,7 +612,7 @@
</div>
<script>
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') || '';
// 100% Verified Premier Landmarks Dataset (Iraq, Jordan, Syria, Egypt)
let LANDMARKS = [
{
+1 -1
View File
@@ -612,7 +612,7 @@
</div>
<script>
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') || '';
// 100% Verified Premier Landmarks Dataset (Iraq, Jordan, Syria, Egypt)
let LANDMARKS = [
{
+1 -1
View File
@@ -12,7 +12,7 @@
},
{
"key": "apiKey",
"value": "zP9vL5mK2nQ8xR7jT4wS1yB6hG3fV0cX",
"value": "",
"type": "string"
}
],