Closed ophilli closed 11 months ago
Similar to #61 it would be good to parameterize our Lambdas that they functions properly in our dev, beta, and prod stages.
Here's some examples of where the Lambda's CORS Access-Control-Allow-Origin is set: https://github.com/clemsonMakerspace/unified-makerspace/blob/mainline/cdk/visit/lambda_code/log_visit.py#L117 https://github.com/clemsonMakerspace/unified-makerspace/blob/mainline/cdk/visit/lambda_code/register_user.py#L43
Access-Control-Allow-Origin
Similar to #61 it would be good to parameterize our Lambdas that they functions properly in our dev, beta, and prod stages.
Here's some examples of where the Lambda's CORS
Access-Control-Allow-Origin
is set: https://github.com/clemsonMakerspace/unified-makerspace/blob/mainline/cdk/visit/lambda_code/log_visit.py#L117 https://github.com/clemsonMakerspace/unified-makerspace/blob/mainline/cdk/visit/lambda_code/register_user.py#L43