diff --git a/api/src/unraid-api/main.ts b/api/src/unraid-api/main.ts index a2f7b5ed1..2c0312d1a 100644 --- a/api/src/unraid-api/main.ts +++ b/api/src/unraid-api/main.ts @@ -52,7 +52,13 @@ export async function bootstrapNestServer(): Promise { origin: true, // Allows all origins credentials: true, methods: ['GET', 'PUT', 'POST', 'DELETE', 'OPTIONS'], - allowedHeaders: ['Content-Type', 'Authorization', 'X-Requested-With', 'X-CSRF-TOKEN', 'X-API-KEY'], + allowedHeaders: [ + 'Content-Type', + 'Authorization', + 'X-Requested-With', + 'X-CSRF-TOKEN', + 'X-API-KEY', + ], }); // Setup Nestjs Pino Logger