Skip to content

Commit b9635fc

Browse files
committed
build(terraform): update CORS configuration for local development
1 parent af935f8 commit b9635fc

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

infrastructure/terraform/dev.tfvars

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ project_name = "automl-lite"
55
# GitHub repository for Amplify (token is passed via TF_VAR_github_token in CI/CD)
66
github_repository = "https://github.com/cristofima/AWS-AutoML-Lite"
77

8-
# CORS - localhost for local development (Amplify domain added automatically when amplify_enabled)
9-
cors_allowed_origins = [
10-
"http://localhost:3000"
11-
]
8+
# CORS - additional origins for dev (localhost added automatically in Terraform for dev)
9+
cors_allowed_origins = []
1210

1311
# Lambda configuration
1412
lambda_memory_size = 1024

0 commit comments

Comments
 (0)