fix(deploy): redirect the bare legacy root too (/* splat misses the empty case)

Add an explicit /human-experience-simulator/ → /human-machine-strata/ 301 (the
subpath splat doesn't match the trailing-slash root).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
BenStullsBets
2026-06-30 15:02:29 -07:00
parent 950c1e6c8c
commit b135cb5f5e
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ def test_build_emits_frontend_baked_json_and_only_referenced_media(tmp_path):
redirects = (out / "_redirects").read_text()
assert "/ /human-machine-strata/ 308" in redirects
assert "/human-machine-strata /human-machine-strata/ 308" in redirects
assert "/human-experience-simulator/ /human-machine-strata/ 301" in redirects
assert "/human-experience-simulator/* /human-machine-strata/:splat 301" in redirects
# baked JSON matches the API shape