fix: avoid weirdness with proxies
See https://git.vvvvvvaria.org/decentral1se/distribusi-go/issues/16.
This commit is contained in:
parent
7a798f4502
commit
360f77b259
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue