cors.js 235 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 const cors = require('cors'); const corsOptions = { origin: ['yoho-protocol://m.yohobuy.com', 'yoho-protocol://yoho-community-web.test3.ingress.dev.yohocorp.com'], optionsSuccessStatus: 200 }; module.exports = cors(corsOptions);