implement reset nkode

This commit is contained in:
2024-09-27 13:51:45 -05:00
parent 1b133edd78
commit 57b5308ca9
17 changed files with 489 additions and 88 deletions

View File

@@ -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)))
}