diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-09-17 18:25:16 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-09-17 18:25:29 -0600 |
commit | 1a1832b77d53849a0aa8216627301aaf9e18d6f8 (patch) | |
tree | ef4e7e54dcaaf14d46ddc6aab270a48af9c6dbc9 | |
parent | fd79efff7504853ab4b7070ee186f4b7a346d21d (diff) |
fix for gopher repo root when it's not at the domain rootv0.9.0
-rw-r--r-- | templates/repo_root.gophermap | 2 |
1 files changed, 1 insertions, 1 deletions
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 -}} .
|