all repos — flounder @ 30103dd54397d530516bf19dc2d6ae1278fe42c8

A small site builder for the Gemini protocol

fix recursivefolder bug
alex wennerberg alex@alexwennerberg.com
Wed, 18 Nov 2020 18:29:54 -0800
commit

30103dd54397d530516bf19dc2d6ae1278fe42c8

parent

5e4f552ce6ee50c36e1001575155af7208d477f3

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M main.gomain.go

@@ -136,7 +136,7 @@ UpdatedTime: file.ModTime(),

IsText: isText, } if file.IsDir() { - f.Children, err = getFiles(path.Join(p, f.Name)) + f.Children, err = getFiles(path.Join(p, file.Name())) } result = append(result, f) }