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