fix: Update production URL to elmeg.xyz
This commit is contained in:
parent
5a8764df05
commit
bb1cba5e20
2 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ from botocore.exceptions import ClientError
|
||||||
|
|
||||||
AWS_REGION = os.getenv("AWS_SES_REGION", "us-east-1")
|
AWS_REGION = os.getenv("AWS_SES_REGION", "us-east-1")
|
||||||
EMAIL_FROM = os.getenv("EMAIL_FROM", "noreply@elmeg.xyz")
|
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)
|
# AWS credentials from environment (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||||
# or from IAM role if running on AWS infrastructure
|
# or from IAM role if running on AWS infrastructure
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ By default, SES is in sandbox mode (can only send to verified emails).
|
||||||
2. Click "Request production access"
|
2. Click "Request production access"
|
||||||
3. Fill out:
|
3. Fill out:
|
||||||
- Mail type: Transactional
|
- Mail type: Transactional
|
||||||
- Website URL: <https://elmeg.runfoo.run>
|
- Website URL: <https://elmeg.xyz>
|
||||||
- Use case: User registration verification, password reset
|
- Use case: User registration verification, password reset
|
||||||
4. Wait for approval (usually 24hrs)
|
4. Wait for approval (usually 24hrs)
|
||||||
|
|
||||||
|
|
@ -77,7 +77,7 @@ backend:
|
||||||
- AWS_SECRET_ACCESS_KEY=...
|
- AWS_SECRET_ACCESS_KEY=...
|
||||||
- AWS_SES_REGION=us-east-1
|
- AWS_SES_REGION=us-east-1
|
||||||
- EMAIL_FROM=noreply@elmeg.xyz
|
- EMAIL_FROM=noreply@elmeg.xyz
|
||||||
- FRONTEND_URL=https://elmeg.runfoo.run
|
- FRONTEND_URL=https://elmeg.xyz
|
||||||
```
|
```
|
||||||
|
|
||||||
Or create `.env` file:
|
Or create `.env` file:
|
||||||
|
|
@ -87,7 +87,7 @@ AWS_ACCESS_KEY_ID=AKIA...
|
||||||
AWS_SECRET_ACCESS_KEY=your-secret-key
|
AWS_SECRET_ACCESS_KEY=your-secret-key
|
||||||
AWS_SES_REGION=us-east-1
|
AWS_SES_REGION=us-east-1
|
||||||
EMAIL_FROM=noreply@elmeg.xyz
|
EMAIL_FROM=noreply@elmeg.xyz
|
||||||
FRONTEND_URL=https://elmeg.runfoo.run
|
FRONTEND_URL=https://elmeg.xyz
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Add boto3 to Requirements
|
### 5. Add boto3 to Requirements
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue