diff --git a/backend/email_service.py b/backend/email_service.py index 8cdeacc..ab02fcc 100644 --- a/backend/email_service.py +++ b/backend/email_service.py @@ -9,7 +9,7 @@ from botocore.exceptions import ClientError AWS_REGION = os.getenv("AWS_SES_REGION", "us-east-1") EMAIL_FROM = os.getenv("EMAIL_FROM", "noreply@elmeg.xyz") -FRONTEND_URL = os.getenv("FRONTEND_URL", "https://elmeg.runfoo.run") +FRONTEND_URL = os.getenv("FRONTEND_URL", "https://elmeg.xyz") # AWS credentials from environment (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) # or from IAM role if running on AWS infrastructure diff --git a/docs/AWS_SES_SETUP.md b/docs/AWS_SES_SETUP.md index 352b335..143f90b 100644 --- a/docs/AWS_SES_SETUP.md +++ b/docs/AWS_SES_SETUP.md @@ -44,7 +44,7 @@ By default, SES is in sandbox mode (can only send to verified emails). 2. Click "Request production access" 3. Fill out: - Mail type: Transactional - - Website URL: + - Website URL: - Use case: User registration verification, password reset 4. Wait for approval (usually 24hrs) @@ -77,7 +77,7 @@ backend: - AWS_SECRET_ACCESS_KEY=... - AWS_SES_REGION=us-east-1 - EMAIL_FROM=noreply@elmeg.xyz - - FRONTEND_URL=https://elmeg.runfoo.run + - FRONTEND_URL=https://elmeg.xyz ``` Or create `.env` file: @@ -87,7 +87,7 @@ AWS_ACCESS_KEY_ID=AKIA... AWS_SECRET_ACCESS_KEY=your-secret-key AWS_SES_REGION=us-east-1 EMAIL_FROM=noreply@elmeg.xyz -FRONTEND_URL=https://elmeg.runfoo.run +FRONTEND_URL=https://elmeg.xyz ``` ### 5. Add boto3 to Requirements