flounder

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

commit 876e0d2b1a46c0b95c04949d6ce4c842d16d0e48
parent 1b6d2f2d4151e5ef7b7281465c3975258d0bf881
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu, 18 Nov 2021 20:49:49 -0800

yeah we hacking

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

diff --git a/utils.go b/utils.go @@ -171,6 +171,9 @@ func checkIfValidFile(username string, filename string, fileBytes []byte) error found = true } } + if username == "alex" && ext == ".html" { // obviously a hack TODO + found = true + } if !found { return fmt.Errorf("Invalid file extension: %s", ext) }