import cors from 'cors';
// Allow all origins for mobile debugging over LAN
export const corsMiddleware = cors({
    origin: true,
    credentials: true,
    methods: ['GET', 'POST', 'PATCH', 'DELETE', 'OPTIONS'],
    allowedHeaders: ['Content-Type', 'X-Client-Id', 'Accept'],
});
