login-validator: remove unused index page
This commit is contained in:
parent
8d4ab002d8
commit
c833b64d13
2 changed files with 1 additions and 82 deletions
|
|
@ -75,7 +75,6 @@ func main() {
|
|||
|
||||
log.Println("Registering handlers...")
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/", Index)
|
||||
mux.Handle("/login", lc)
|
||||
mux.HandleFunc("/logout", logout)
|
||||
http.HandleFunc("/", mux.ServeHTTP)
|
||||
|
|
@ -94,9 +93,7 @@ func main() {
|
|||
if lc.students, err = readStudentsList(studentsFile); err != nil {
|
||||
log.Println("Error during students.csv reload:", err)
|
||||
}
|
||||
case syscall.SIGTERM:
|
||||
break mloop;
|
||||
case syscall.SIGINT:
|
||||
case syscall.SIGTERM, syscall.SIGINT:
|
||||
break mloop;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue