feat(website): serve alchemy.run, redirect v2.alchemy.run to it - #806
Merged
Conversation
The v2 website takes over the apex domain. The prod Worker now attaches both alchemy.run and v2.alchemy.run, and a http_request_dynamic_redirect Ruleset 301s v2.alchemy.run to alchemy.run (path + query preserved). Canonical site URL references move from v2.alchemy.run to alchemy.run. Requires the v1 website deploy (alchemy-run/alchemy) to land first so the apex custom domain is detached from the v1 router Worker. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Install the packages built from this commit: alchemy bun add alchemy@https://pkg.ing/alchemy/51f36f1@alchemy.run/better-auth bun add @alchemy.run/better-auth@https://pkg.ing/@alchemy.run/better-auth/51f36f1@alchemy.run/pr-package bun add @alchemy.run/pr-package@https://pkg.ing/@alchemy.run/pr-package/51f36f1 |
…view-aware - Stack error message and AUTH_LANDING_HOST (/auth/success, /auth/error landing pages) move to alchemy.run; stale tutorial URLs in test comments updated - agent prompt is now built from the page's own origin after hydration, so PR previews produce prompts that point at themselves - the Worker rewrites llms.txt's baked canonical origin to the request origin on non-canonical hosts (same treatment as HTML canonical tags) - blog homepage link is relative - distilled: putPhas redirect status_code patched to number (alchemy-run/distilled#380) — required for the V2Redirect ruleset to encode and decode Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…-migration-a03196 # Conflicts: # distilled
This was referenced Jul 15, 2026
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.
The v2 website takes over the apex domain. In prod the Worker attaches both hostnames, and a Single Redirect ruleset 301s
v2.alchemy.runtoalchemy.runat the edge (path + query preserved), so requests never reach the Worker:v2.alchemy.runtoalchemy.run: astrosite, workerCANONICAL_HOST,llms.txt(regenerated), agent prompt, README, docs example.Deploy order: https://github.com/alchemy-run/alchemy/pull/1448 must merge/deploy first — the Worker provider refuses to attach a hostname that is still attached to another Worker, and
alchemy.runis currently on the v1 router Worker.Also in this PR:
v2.alchemy.runreferences:Stackerror message,AUTH_LANDING_HOST(/auth/success//auth/error), migration-guide links to v1.alchemy.run, stale tutorial URLs in test comments.window.location.originafter hydration, and the Worker rewritesllms.txt's baked canonical origin to the request origin on non-canonical hosts — PR previews now reference themselves instead of prod.distilledfor fix(cloudflare/rulesets): putPhas redirect status_code is a number distilled#380 (putPhasredirectstatus_codeis a number, not a string) — required for theV2Redirectruleset to encode/decode. Merge that PR first so the submodule pointer lands ondistilledmain.🤖 Generated with Claude Code