cors.js 218 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 module.exports = { origin: [ 'http://localhost:8560', ...(process.env.CORS_ALLOWED_URL ? process.env.CORS_ALLOWED_URL.split(',') : []), ], credentials: true, optionsSuccessStatus: 200 }