Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxshan2000 authored Oct 28, 2023
1 parent 8c0a909 commit 8efa539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PORT = process.env.PORT || 5000

app.use(cors({
//51.20.76.107
origin:["http://18.61.66.218:3000","http://18.61.66.218"],//"exp://192.168.8.182:8081"
origin:["http://18.61.66.218:3000","http://18.61.66.218", "http://ec2-18-61-66-218.ap-south-2.compute.amazonaws.com","https://ec2-18-61-66-218.ap-south-2.compute.amazonaws.com"],//"exp://192.168.8.182:8081"
methods:["GET","POST"],
credentials:true
}))
Expand Down

0 comments on commit 8efa539

Please sign in to comment.