Skip to content

Commit 72e2244

Browse files
Goddamn it I thought of something
1 parent da772e4 commit 72e2244

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

amplify.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ applications:
1313
# These echo lines DO NOT hardcode secrets; they just write whatever Amplify injects at build time.
1414
- echo "MONGO_URI=$MONGO_URI" >> .env
1515
- echo "MONGO_URI=$MONGO_URI" >> .env.production
16+
- echo "MONGO_URI=$MONGO_URI" >> .config.env
17+
- echo "MONGO_URI=$MONGO_URI" >> .config.env.production
1618
# If you have public variables prefixed with NEXT_PUBLIC_, add them similarly:
1719
# - echo "NEXT_PUBLIC_API_BASE=$NEXT_PUBLIC_API_BASE" >> .env
1820
# Optional: show which env vars resolved (avoid printing secrets—mask length only)

0 commit comments

Comments
 (0)