https://supertokens.com/ logo
#support-questions
Title
# support-questions
f

funk101

05/20/2022, 4:28 AM
Copy code
await NextCors(req, res, {
    methods: ["GET", "HEAD", "PUT", "PATCH", "POST", "DELETE"],
    origin: "*", //process.env.NEXT_PUBLIC_HOST,
    credentials: true,
    allowedHeaders: ["content-type", ...supertokens.getAllCORSHeaders()],
  });