Reorg client code

This commit is contained in:
cheddar 2025-02-20 21:49:05 -05:00
parent 61aa1be730
commit f313a8f1c9
No known key found for this signature in database
4 changed files with 58 additions and 37 deletions

View file

@ -42,7 +42,7 @@ func Start(isCaddyAuth bool, keyDir keydirectory.RegistrationDirectory) error {
handler = verifyHandler
}
mux.Handle("/", handler)
mux.Handle("/auth", handler)
mux.Handle("/register", getRegistrationHandler(keyDir))
err := http.ListenAndServe("localhost:8080", mux)