Skip to content

Commit c29f3ac

Browse files
committed
FIX : cors 에러 해결 및 버전 관리
1 parent 6ee42eb commit c29f3ac

File tree

5 files changed

+5741
-3388
lines changed

5 files changed

+5741
-3388
lines changed

handler.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import verifierModel from "./src/model/verifieres";
66
const createRes = (status: number, body: Object) => {
77
return {
88
statusCode: status,
9+
headers: {
10+
"Access-Control-Allow-Origin": "*",
11+
"Access-Control-Allow-Credentials": true,
12+
},
913
body: JSON.stringify(body),
1014
};
1115
};

0 commit comments

Comments
 (0)