fix: cors fuer admin schreibzugriffe erlauben
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 16s
Build and Push Docker Images / build-frontend (push) Successful in 16s
Build and Push Docker Images / build-website (push) Successful in 16s
Build and Push Docker Images / build-central-services-api (push) Successful in 24s
Build and Push Docker Images / build-central-services-admin (push) Successful in 41s
Build and Push Docker Images / build-docs (push) Successful in 16s

This commit is contained in:
2026-08-05 14:17:23 +02:00
parent 4e533a47c9
commit 7b705c7f40

View File

@@ -36,6 +36,7 @@ app.setErrorHandler((error, _request, reply) => {
await app.register(cors, {
origin: true,
credentials: true,
methods: ["GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"],
});
await app.register(publicRoutes);
await app.register(adminRoutes);