From eeec4754cab3e3f4fc73c2a0b1cd1c607ff3b3c5 Mon Sep 17 00:00:00 2001 From: s441433 Date: Fri, 28 Dec 2018 02:35:29 +0100 Subject: [PATCH] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 027df1c..2f9c6cd 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,7 @@ func panel(w http.ResponseWriter, r *http.Request) { func login(w http.ResponseWriter, r *http.Request) { fmt.Println("method:", r.Method) if r.Method == "GET" { - t, _ := template.ParseFiles("login.gtpl") + t, _ := template.ParseFiles("login.html") t.Execute(w, nil) } else { r.ParseForm()