diff --git a/backend/src/app.ts b/backend/src/app.ts index 57378c4..1d0b443 100644 --- a/backend/src/app.ts +++ b/backend/src/app.ts @@ -49,7 +49,7 @@ export async function buildApp() { await fastify.register(staticFiles, { root: uploadsDir, prefix: '/uploads/' }) // ── Security ─────────────────────────────────────────────────────────────── - await fastify.register(helmet, { contentSecurityPolicy: false }) + await fastify.register(helmet, { contentSecurityPolicy: false, crossOriginResourcePolicy: { policy: 'cross-origin' } }) await fastify.register(cors, { origin: config.cors.origins, diff --git a/src/components/calendar/BookingCalendar.tsx b/src/components/calendar/BookingCalendar.tsx index ef9bc53..c2f15ce 100644 --- a/src/components/calendar/BookingCalendar.tsx +++ b/src/components/calendar/BookingCalendar.tsx @@ -367,11 +367,11 @@ export function BookingCalendar({ rooms, bookings, slug, onBookingCreate, onBook
{/* Legend */} -
+
{(['confirmed', 'checked_in', 'checked_out', 'inquiry'] as const).map(s => ( -
+
- {BOOKING_STATUS_LABELS[s]} + {BOOKING_STATUS_LABELS[s]}
))}