fix: avoid weirdness with proxies

See https://git.vvvvvvaria.org/decentral1se/distribusi-go/issues/16.
This commit is contained in:
decentral1se 2022-04-05 11:07:25 +02:00
parent 7a798f4502
commit 360f77b259
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ func distribusify(c *cli.Context, root string, ignore []string) error {
mtype := "os/directory"
href := fmt.Sprintf("<a href='%s'>%s/</a>", fname, fname)
href := fmt.Sprintf("<a href='%s/'>%s/</a>", fname, fname)
div, err := mkDiv(c, mtype, href, fname, false)
if err != nil {
return err