diff --git a/netlify/functions/users/users.ts b/netlify/functions/users/users.ts index a4cf863..1ef27d1 100644 --- a/netlify/functions/users/users.ts +++ b/netlify/functions/users/users.ts @@ -8,6 +8,8 @@ export const handler: Handler = async (event: HandlerEvent, context: HandlerCont return { headers: { 'Content-Type': 'application/json', + 'Allow': 'POST', + 'Access-Control-Allow-Methods': 'POST', 'Access-Control-Allow-Origin': origin ? origin : 'https://cameras.immersiveidea.com', 'Access-Control-Allow-Credentials': 'true' },