Skip to content

Commit 0f64243

Browse files
raifdmuellerclaude
andcommitted
fix: include /Semantic-Anchors base path in static redirect URL
The redirect page for /workflow used a bare /spec-driven-development path, which resolved to the root domain instead of the GitHub Pages subdirectory. Now uses /Semantic-Anchors/spec-driven-development. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 733a213 commit 0f64243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/prerender-routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function prerenderRoute(shell, route) {
175175
fs.mkdirSync(outDir, { recursive: true })
176176
fs.writeFileSync(
177177
outFile,
178-
`<!doctype html><meta charset="utf-8"><link rel="canonical" href="https://llm-coding.github.io/Semantic-Anchors${route.redirectTo}"><meta http-equiv="refresh" content="0;url=${route.redirectTo}"><script>location.replace('${route.redirectTo}')</script>`,
178+
`<!doctype html><meta charset="utf-8"><link rel="canonical" href="https://llm-coding.github.io/Semantic-Anchors${route.redirectTo}"><meta http-equiv="refresh" content="0;url=/Semantic-Anchors${route.redirectTo}"><script>location.replace('/Semantic-Anchors${route.redirectTo}')</script>`,
179179
'utf-8'
180180
)
181181
return

0 commit comments

Comments
 (0)