File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/api/enterprise-contact Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ const MAX_REQUESTS_PER_WINDOW = 3
8
8
9
9
// Configure SES client
10
10
const sesClient = new SESClient ( {
11
- region : process . env . SES_REGION || "us-east-1 " ,
11
+ region : process . env . SES_REGION || "us-east-2 " ,
12
12
credentials : {
13
13
accessKeyId : process . env . SES_ACCESS_KEY_ID ! ,
14
14
secretAccessKey : process . env . SES_SECRET_ACCESS_KEY ! ,
15
15
} ,
16
16
} )
17
17
18
18
// Log the region being used for debugging
19
- console . log ( "Using AWS SES region:" , process . env . SES_REGION || "us-east-1 " )
19
+ console . log ( "Using AWS SES region:" , process . env . SES_REGION || "us-east-2 " )
20
20
21
21
// Simple in-memory rate limiting (in production, use Redis or similar)
22
22
const requestHistory = new Map < string , number [ ] > ( )
You can’t perform that action at this time.
0 commit comments