Skip to content

Commit

Permalink
Merge pull request #28 from astartes22/dev
Browse files Browse the repository at this point in the history
edit cors setting
  • Loading branch information
Dev-SeungcheolLee authored Nov 16, 2020
2 parents 7d39527 + 3c3bc23 commit 63f6f9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ app.use(
origin: [
'http://localhost:3000',
'http://localhost:3001',
'http://to-go-list-client.s3-website.ap-northeast-2.amazonaws.com'],
'http://to-go-list-client.s3-website.ap-northeast-2.amazonaws.com',
'http://13.209.21.127:3001'
],
methods: ['GET', 'POST', 'PATCH'],
credentials: true
})
Expand Down

0 comments on commit 63f6f9a

Please sign in to comment.