Added api-key header.
This commit is contained in:
parent
6e16c409de
commit
5e37ec6623
@ -24,9 +24,8 @@ export const handler: Handler = async (event: HandlerEvent, context: HandlerCont
|
||||
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE'
|
||||
};
|
||||
return {
|
||||
statusCode: 200,
|
||||
headers,
|
||||
body: 'OK'
|
||||
statusCode: 204,
|
||||
headers
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user