serverless-chat
serverless-chat copied to clipboard
Removed hardcoding of 'eu-west-1' for the IoT endpoint and use the AWS_REGION variable.
When deploying the stack in a region other than 'eu-west-1', you would get a 403 on the frontend for the WebSocket handshake. This change resolves that issue.