flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 161962dc4b3ea854aebdda56410ee5a1524e426f
parent 77d87d7fd31de071be7c6436956151255ed63f8a
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 22 Nov 2020 14:36:26 -0800

Remove debug print stmt

Diffstat:
Mutils.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/utils.go b/utils.go @@ -58,7 +58,6 @@ func checkIfValidFile(filename string, fileBytes []byte) error { 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) }