Fix passkey authentication
Also prep for better router layout
This commit is contained in:
parent
e2260e4a0f
commit
b9eb4234f4
11 changed files with 289 additions and 21 deletions
16
server/testingEndpoints.go
Normal file
16
server/testingEndpoints.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func setupTestEndpoints() http.Handler {
|
||||
router := http.NewServeMux()
|
||||
router.HandleFunc(
|
||||
"/",
|
||||
func(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "test root") },
|
||||
)
|
||||
|
||||
return router
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue