feat: add world map functionality and admin map management

- Added world map page with interactive marker display
- Implemented admin map management for marker CRUD operations
- Added map layers and markers seed data to database
- Integrated new routes for map functionality
- Updated database configuration for production environment
- Added documentation page route
- Enhanced package.json with required dependencies for map features
This commit is contained in:
Lars Behrends
2026-01-02 05:08:07 +01:00
parent ea2b803534
commit 065a6e657d
152 changed files with 5024 additions and 35 deletions

View File

@@ -21,7 +21,11 @@ class AuthService {
const res = await fetch(`${API_URL}/auth/me`, { credentials: 'include' });
if (res.ok) {
const data = await res.json();
this.user = data;
// Ensure isAdmin property exists
this.user = {
...data,
isAdmin: data.isAdmin || false
};
this.notifyListeners();
}
} catch (e) {