summary refs log tree commit diff stats
path: root/svc/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/conf.go')
-rw-r--r--svc/conf.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/svc/conf.go b/svc/conf.go
index 9099477..5f4233b 100644
--- a/svc/conf.go
+++ b/svc/conf.go
@@ -1,7 +1,6 @@
 package svc // import "github.com/getwtxt/getwtxt/svc"
 
 import (
-	"html/template"
 	"log"
 	"os"
 	"path/filepath"
@@ -40,14 +39,6 @@ type Instance struct {
 	Desc  string `yaml:"Instance.Description"`
 }
 
-func initTemplates() *template.Template {
-	confObj.Mu.RLock()
-	assetsDir := confObj.AssetsDir
-	confObj.Mu.RUnlock()
-
-	return template.Must(template.ParseFiles(assetsDir + "/tmpl/index.html"))
-}
-
 func initLogging() {
 
 	confObj.Mu.RLock()