so basically if APIG has enabled CORS one could sk...
# support-questions-legacy
a
so basically if APIG has enabled CORS one could skip
Copy code
app.use(
  cors({
    origin: "http://localhost:3000",
    allowedHeaders: ["content-type", ...supertokens.getAllCORSHeaders()],
    credentials: true,
    methods: ["GET", "PUT", "POST", "DELETE", "OPTIONS"],
  }),
)
?