Express.js HTTP server configuration and setup
This module creates and configures the main Express application with:
- CORS configuration for allowed domains
- Authentication middleware setup
- API route mounting for different modules
- Static file serving
- Error handling middleware
- Compression and security headers
The server handles REST API requests for the Commtool Members system
including organization management, user authentication, and data operations.
- Source:
Members
(static, constant) buildDomainCorsChecker
Baut den Checker aus der geladenen Map — Express **und** Socket.IO nutzen ihn.
- Source:
(static, constant) domainCorsOrigin
Origin-Handler für `cors()` und Socket.IO — liest den Checker pro Anfrage.
- Source:
(static, constant) setDomainCorsChecker
Setzt den Checker, sobald die Domain-Map verfügbar ist (siehe `server.js`).
- Source: