nodejs-authentication/config/cors.js
2025-03-11 10:51:27 +00:00

11 lines
208 B
JavaScript

module.exports = {
cors : {
"origin": "*",
"methods": "GET,PUT,POST,DELETE",
"allowedHeaders" : [
'Content-Type','Authorization'
],
"preflightContinue": false,
"optionsSuccessStatus": 204
}
}