Added api-key header.
This commit is contained in:
parent
5e37ec6623
commit
720a043588
@ -20,6 +20,7 @@ export const handler: Handler = async (event: HandlerEvent, context: HandlerCont
|
||||
case 'OPTIONS':
|
||||
const headers = {
|
||||
'Access-Control-Allow-Origin': 'https://cameras.immersiveidea.com',
|
||||
'Access-Control-Allow-Credentials': 'true',
|
||||
'Access-Control-Allow-Headers': 'content-type, api-key',
|
||||
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE'
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user