diff --git a/index.js b/index.js index 7e29a76..861e548 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ const cors = require('cors'); // Enable CORS for your front-end domain const corsOptions = { - origin: 'https://www.voipshop.co.za', + origin: ['https://www.voipshop.co.za', 'https://voipshop.co.za'], optionsSuccessStatus: 200 };