first draft of home page

This commit is contained in:
2026-01-06 19:42:21 -07:00
parent 073e5bfe26
commit 846f56e50b
8 changed files with 195 additions and 47 deletions
-7
View File
@@ -17,13 +17,6 @@ import (
"ruben/inventory2/internal/site/response"
)
// just keep this around long enough for testing auth middleware..
func (s *Server) testAuthEndpoint(r *http.Request) (response.Response, error) {
fmt.Println("AUTH TEST SUCCESS:", getIdentity(r.Context()))
return response.TemporaryRedirect("/"), nil
}
type identity struct {
AccessToken string
Claims authentication.AccessTokenClaims