diff --git a/server/lib/micro.ts b/server/lib/micro.ts deleted file mode 100644 index 45da61b..0000000 --- a/server/lib/micro.ts +++ /dev/null @@ -1,14 +0,0 @@ -import microCors from 'micro-cors'; - -export const cors = microCors({ - origin: 'https://studio.apollographql.com', - allowCredentials: true, - allowMethods: ['GET', 'POST', 'PUT', 'DELETE'], - allowHeaders: [ - 'access-control-allow-credentials', - 'access-control-allow-origin', - 'content-type', - 'authorization', - '*', - ], -});