Migrate to new domain#715
Merged
Merged
Conversation
Switch production SST domain from agentrelay.net to orgin.agentrelay.net to avoid a CloudFront CNAMEAlreadyExists conflict and allow a no‑downtime deploy path. Update web/sst.config.ts (domain and comment). Add two completed trajectory records (traj_4zqhfqw7g28l and traj_rs2bt3x0fqba) documenting the investigation, decision to use orgin.agentrelay.net, and verification that the new plan issues a certificate and removes stale agentrelay.net validation resources. Also update .trajectories/index.json timestamp and entries.
| run() { | ||
| const isProd = $app.stage === 'production'; | ||
| const domain = isProd ? 'agentrelay.net' : `${$app.stage}.agentrelay.net`; | ||
| const domain = isProd ? 'orgin.agentrelay.net' : `${$app.stage}.agentrelay.net`; |
Contributor
There was a problem hiding this comment.
🔴 Typo in production domain: 'orgin' instead of 'origin'
The production domain is set to orgin.agentrelay.net which is a misspelling of origin.agentrelay.net (letters 'i' and 'g' are transposed). This will cause SST to provision a CloudFront distribution, SSL certificate, and Cloudflare DNS record for the wrong subdomain. The typo is also repeated in the comment on line 22.
Suggested change
| const domain = isProd ? 'orgin.agentrelay.net' : `${$app.stage}.agentrelay.net`; | |
| const domain = isProd ? 'origin.agentrelay.net' : `${$app.stage}.agentrelay.net`; |
Was this helpful? React with 👍 or 👎 to provide feedback.
Contributor
|
Preview deployed!
This preview will be cleaned up when the PR is merged or closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.