From 1a1832b77d53849a0aa8216627301aaf9e18d6f8 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sun, 17 Sep 2023 18:25:16 -0600 Subject: fix for gopher repo root when it's not at the domain root --- templates/repo_root.gophermap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo_root.gophermap b/templates/repo_root.gophermap index 1e32e76..35592a4 100644 --- a/templates/repo_root.gophermap +++ b/templates/repo_root.gophermap @@ -2,6 +2,6 @@ iRepositories {{.Selector}} {{.Host}} {{.Port}} i------------ {{.Selector}} {{.Host}} {{.Port}} i {{.Selector}} {{.Host}} {{.Port}} {{ range .Repos -}} -1{{.}} {{.}}/ {{$.Host}} {{$.Port}} +1{{.}} {{$.Selector}}/{{.}} {{$.Host}} {{$.Port}} {{ end -}} . -- cgit v1.2.3