diff options
| author | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 14:14:25 +0200 |
|---|---|---|
| committer | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 14:14:25 +0200 |
| commit | 97dc50bcfb7d4296dd11348b9d7470821fb6afbc (patch) | |
| tree | 68565e5e415f9341fadd754adb00a6d6896628db /internal/port/main.go | |
| parent | WIP: Refactoring (diff) | |
| download | gopherproxy-97dc50bcfb7d4296dd11348b9d7470821fb6afbc.tar.gz gopherproxy-97dc50bcfb7d4296dd11348b9d7470821fb6afbc.tar.bz2 gopherproxy-97dc50bcfb7d4296dd11348b9d7470821fb6afbc.zip | |
WIP: Refactoring
Diffstat (limited to 'internal/port/main.go')
| -rw-r--r-- | internal/port/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
| 205 | // | 205 | // |
| 206 | // | 206 | // |
| 207 | 207 | ||
| 208 | var templates *template.Template | ||
| 209 | |||
| 208 | var allFiles []string | 210 | var allFiles []string |
| 209 | files, err := ioutil.ReadDir("./tpl") | 211 | files, err := ioutil.ReadDir("./tpl") |
| 210 | if err != nil { | 212 | if err != nil { |
