cors.js 235 Bytes
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);