From 3c3bc23ec5db00abf82b32768f1ce04d1ae2d0ff Mon Sep 17 00:00:00 2001 From: seungcheol Date: Mon, 16 Nov 2020 18:20:12 +0900 Subject: [PATCH] edit cors setting --- app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 5135e7e..10cdc70 100644 --- a/app.js +++ b/app.js @@ -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 })