implement reset nkode
This commit is contained in:
3
main.go
3
main.go
@@ -16,7 +16,7 @@ func main() {
|
||||
handler := core.NKodeHandler{Api: nkodeApi}
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle(core.CreateNewCustomer, &handler)
|
||||
mux.Handle(core.GenerateSignupInterface, &handler)
|
||||
mux.Handle(core.GenerateSignupResetInterface, &handler)
|
||||
mux.Handle(core.SetNKode, &handler)
|
||||
mux.Handle(core.ConfirmNKode, &handler)
|
||||
mux.Handle(core.GetLoginInterface, &handler)
|
||||
@@ -24,6 +24,7 @@ func main() {
|
||||
mux.Handle(core.RenewAttributes, &handler)
|
||||
mux.Handle(core.RandomSvgInterface, &handler)
|
||||
mux.Handle(core.RefreshToken, &handler)
|
||||
mux.Handle(core.ResetNKode, &handler)
|
||||
fmt.Println("Running on localhost:8080...")
|
||||
log.Fatal(http.ListenAndServe("localhost:8080", corsMiddleware(mux)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user