Skip to content

Commit

Permalink
cors updated with new AWS server (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeerajK007 authored Nov 4, 2024
1 parent f943703 commit 7c943ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions seller-app-api/lib/config/production_env_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
},
"cors": {
"whitelistUrls": [
"http://ec2-3-90-151-99.compute-1.amazonaws.com:3000",
"http://ec2-3-90-151-99.compute-1.amazonaws.com:8080",
"http://localhost:3000",
"http://strapi:3001"
]
Expand Down
3 changes: 2 additions & 1 deletion seller/app/config/environments/base/env.cors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
'whitelistUrls': [
'*',
'http://localhost:3000',
'https://localhost:3000'
'https://localhost:3000',
'http://ec2-3-90-151-99.compute-1.amazonaws.com:3000'
]
}
};

0 comments on commit 7c943ef

Please sign in to comment.