x/website: offline tour broken links #59914
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
website
Milestone
While trying to fix offline tour links other go.dev resources (golang/tour#1463 & golang/tour#1473) I put in golang/website#213 which updated URLs to work offline by adding
https://go.dev/
prefixes.I later noticed this commit:
Which points out a third place these URLs need to work and a reason and policy to use relative URLs.
I think we need the local tour binary to get a handler update to allow for redirect of
/pkg/
,/blog/
,/doc/
,/talks/
,/cmd/
, &/
.There is already a handler for
/
which redirects to the tour start point which might should stay that way.Does anyone see an issue with adding redirect handlers to the offline tour?
Does anyone have a input on changing or not of the
/
handler?The text was updated successfully, but these errors were encountered: