diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 20:26:27 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2020-05-18 20:26:27 +0200 |
commit | 3722214524996fa65925824beea6043ee7154e72 (patch) | |
tree | 0c3ceab5371e4de34731c2e4d17317c03b17ad33 /internal/port | |
parent | Embed templates in binary (diff) | |
download | gopherproxy-3722214524996fa65925824beea6043ee7154e72.tar.gz gopherproxy-3722214524996fa65925824beea6043ee7154e72.tar.bz2 gopherproxy-3722214524996fa65925824beea6043ee7154e72.zip |
Fix embedding templates
Diffstat (limited to 'internal/port')
-rw-r--r-- | internal/port/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/port/main.go b/internal/port/main.go index b233012..5fb3dae 100644 --- a/internal/port/main.go +++ b/internal/port/main.go | |||
@@ -250,7 +250,7 @@ func ListenAndServe(bind, startpagefile string, robotsfile string, robotsdebug b | |||
250 | 250 | ||
251 | // | 251 | // |
252 | 252 | ||
253 | tplBox := packr.New("templates", "./internal/port/tpl") | 253 | tplBox := packr.New("templates", "./tpl") |
254 | 254 | ||
255 | templates := template.New("main.html").Funcs(funcMap) | 255 | templates := template.New("main.html").Funcs(funcMap) |
256 | 256 | ||