Skip to content

Remove leftover MARKETING_URL plumbing after site/ deletion - #85

Merged
jginorio merged 1 commit into
mainfrom
cursor/strip-marketing-url-c971
Sep 16, 2026
Merged

jginorio merged 1 commit into
mainfrom
cursor/strip-marketing-url-c971

Conversation

@jginorio

@jginorio jginorio commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

site/ is gone (#70) and nothing in web/ reads deploymentConfig.marketingUrl. This PR strips the leftover env plumbing — not another site deletion.

  • Drop unread marketingUrl from web/lib/deployment/config.ts
  • Stop forwarding MARKETING_URL from CDK Amplify env
  • Remove MARKETING_URL from CLI CONTEXT_KEYS / HOSTED_KEYS
  • Drop it from the amplify.yml env grep
  • Tests now assert leftover MARKETING_URL is ignored; hosted APP_URL / APP_MODE and BILLING_ENABLED stay

Keep

Leave alone

Test plan

  • npm --prefix packages/cli test — 281/281 pass (includes cdk-invoke.test.js leftover MARKETING_URL ignored; hosted APP_URL still forwarded)
  • CDK stack-synth.test.ts — 2/2 pass (hosted APP_MODE keeps APP_URL / BILLING_ENABLED; MARKETING_URL context is not Amplify env)
  • Repo scan: MARKETING_URL / marketingUrl remain only in those ignore assertions
Open in Web Open in Cursor 

Nothing in web/ reads deploymentConfig.marketingUrl. Drop the unread
config field, Amplify env, CDK context, CLI CONTEXT_KEYS / HOSTED_KEYS,
and tests that still expected the marketing origin.

Co-authored-by: Jaime Ginorio <jaime.ginorio@finditpr.com>
@jginorio
jginorio marked this pull request as ready for review September 16, 2026 11:02
@jginorio
jginorio merged commit aa5a303 into main Sep 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants