Reorg client code
This commit is contained in:
parent
61aa1be730
commit
f313a8f1c9
4 changed files with 58 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue