Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿

refactor: remove named cors export (#5901)

authored by yoginth.com and committed by

GitHub 1740f74b 6554b96b

+1 -1
+1 -1
apps/api/src/middlewares/cors.ts
··· 8 8 "https://developer.lens.xyz" 9 9 ]; 10 10 11 - export const cors = corsMiddleware({ 11 + const cors = corsMiddleware({ 12 12 allowHeaders: ["Content-Type", "X-Access-Token"], 13 13 allowMethods: ["GET", "POST", "OPTIONS"], 14 14 credentials: true,