Remove templates directory
This commit is contained in:
parent
462ee38b96
commit
369849a493
|
|
@ -115,8 +115,8 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
t, err := template.ParseFiles(
|
t, err := template.ParseFiles(
|
||||||
os.Getenv("EKSTER_TEMPLATES")+"/templates/index.html",
|
os.Getenv("EKSTER_TEMPLATES")+"/index.html",
|
||||||
os.Getenv("EKSTER_TEMPLATES")+"/templates/settings.html",
|
os.Getenv("EKSTER_TEMPLATES")+"/settings.html",
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(w, "ERROR: %q\n", err)
|
fmt.Fprintf(w, "ERROR: %q\n", err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user