Skip to content

Commit

Permalink
CORS app issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jack03042 committed Apr 18, 2024
1 parent b3f79c5 commit c6c674a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit c6c674a

Please sign in to comment.