Files
kleinanzeigen-boosted/web/js/config.js
2025-11-25 22:12:43 +01:00

15 lines
405 B
JavaScript

// Auto-detect API base URL from current domain
const API_BASE_URL = window.location.protocol + '//' + window.location.host;
//const API_BASE_URL = 'http://localhost:5000'; //used for development
// Application state
const AppState = {
map: null,
markers: [],
allListings: [],
selectedListingId: null,
currentSessionId: null,
scrapeStartTime: null,
isScrapingActive: false
};