fix gemini dir listing

Signed-off-by: kim (grufwub) <grufwub@gmail.com>
development
kim (grufwub) 4 years ago
parent 0f83dcb9c7
commit 0f559836ee

@ -96,7 +96,7 @@ func handleDirectory(client *core.Client, file *os.File, p *core.Path) *errors.E
// Add directory heading, empty line and a back line
dirContents = append(dirContents, []byte("["+core.Hostname+p.Selector()+"]\n\n")...)
dirContents = append(dirContents, []byte("=> "+p.Selector()+"* ..\n")...)
dirContents = append(dirContents, []byte("=> "+p.Selector()+" * ..\n")...)
// Scan directory and build lines
err = core.ScanDirectory(

Loading…
Cancel
Save