aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2020-05-18 20:26:27 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2020-05-18 20:26:27 +0200
commit3722214524996fa65925824beea6043ee7154e72 (patch)
tree0c3ceab5371e4de34731c2e4d17317c03b17ad33
parentEmbed templates in binary (diff)
downloadgopherproxy-3722214524996fa65925824beea6043ee7154e72.tar.gz
gopherproxy-3722214524996fa65925824beea6043ee7154e72.tar.bz2
gopherproxy-3722214524996fa65925824beea6043ee7154e72.zip
Fix embedding templates
-rw-r--r--internal/port/main.go2
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