feat: add database indexes, implement CORS configuration, and lazy-load frontend routes
Build and Push Multi-Platform Images / build-and-push (push) Successful in 35s

This commit is contained in:
bjoernpoettker committed 2026-05-10 22:21:01 +02:00
1 parent aa4c181b0c
commit 1ed3afd2e2
6 files changed
+52 -35

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ async function bootstrap(): Promise<void> {
const port = process.env.PORT ?? 3100;
app.enableCors({
origin: '*', // Für lokale Entwicklung zulassen, oder spezifisch: 'http://localhost:8080'
origin: process.env.CORS_ORIGIN ?? (process.env.NODE_ENV === 'production' ? false : '*'),
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
credentials: true,
});