all repos — flounder @ 161962dc4b3ea854aebdda56410ee5a1524e426f

A small site builder for the Gemini protocol

Remove debug print stmt
alex wennerberg alex@alexwennerberg.com
Sun, 22 Nov 2020 14:36:26 -0800
commit

161962dc4b3ea854aebdda56410ee5a1524e426f

parent

77d87d7fd31de071be7c6436956151255ed63f8a

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

jump to
M utils.goutils.go

@@ -58,7 +58,6 @@ }

if !found { return fmt.Errorf("Invalid file extension: %s", ext) } - fmt.Println(len(fileBytes)) if len(fileBytes) > c.MaxFileSize { return fmt.Errorf("File too large. File was %d bytes, Max file size is %d", len(fileBytes), c.MaxFileSize) }