feat(security): implement dynamic tactical license gate, instant key revocation, and clean hardcoded credentials
This commit is contained in:
@@ -346,8 +346,8 @@
|
||||
CONFIG
|
||||
─────────────────────────────────────────── */
|
||||
const API_BASE = window.location.origin; // Dynamically use the current host
|
||||
const API_KEY = 'zP9vL5mK2nQ8xR7jT4wS1yB6hG3fV0cX';
|
||||
const HEADERS = { 'x-api-key': API_KEY };
|
||||
const API_KEY = new URLSearchParams(window.location.search).get('api_key') || localStorage.getItem('map_api_key') || '';
|
||||
const HEADERS = API_KEY ? { 'x-api-key': API_KEY } : {};
|
||||
|
||||
const ROUTES = {
|
||||
LEVANT: {
|
||||
|
||||
Reference in New Issue
Block a user