Skip to content

Commit

Permalink
Permit all domains in development environment -- server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kathyavini committed Jan 16, 2025
1 parent 94f1058 commit 55560a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const rejectBodyInGetAndDelete = (req, res, next) => {
const getAllowedOrigin = () => {
switch (environment) {
case 'development':
return 'http://localhost:3000';
return '*';
case 'integration':
return 'https://beta.litefarm.org';
case 'production':
Expand Down

0 comments on commit 55560a4

Please sign in to comment.