From 97dc50bcfb7d4296dd11348b9d7470821fb6afbc Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 18 May 2020 14:14:25 +0200 Subject: WIP: Refactoring --- internal/port/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/port/main.go') diff --git a/internal/port/main.go b/internal/port/main.go index 5cdd794..9fa245e 100644 --- a/internal/port/main.go +++ b/internal/port/main.go @@ -205,6 +205,8 @@ func ListenAndServe(bind, startpagefile string, robotsfile string, robotsdebug b // // + var templates *template.Template + var allFiles []string files, err := ioutil.ReadDir("./tpl") if err != nil { -- cgit v1.3.1