rp_st
04/25/2021, 4:51 PMapp.use(
cors({
origin: "http://localhost:3000",
allowedHeaders: ["content-type", ...supertokens.getAllCORSHeaders()],
credentials: true,
methods: ["GET", "PUT", "POST", "DELETE"],
}),
)
Basically added the methods
key as well.