Rename Nurse to Mako
CI / test (push) Successful in 2m9s
Release / release (push) Successful in 2m16s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
VeillaxandClaude Sonnet 5.5 committed 2026-11-01 00:07:43 -06:00
1 parent 6a4be5b2f4
commit e3147597e8
24 files changed
+208 -208

No files matched your search

+5 -5
View File
@@ -14,13 +14,13 @@ import (
"strings"
"time"
"git.veillax.com/Veillax/nurse/internal/config"
"git.veillax.com/Veillax/nurse/internal/oidc"
"git.veillax.com/Veillax/mako/internal/config"
"git.veillax.com/Veillax/mako/internal/oidc"
)
const (
sessionCookie = "nurse_session"
flowCookie = "nurse_signin"
sessionCookie = "mako_session"
flowCookie = "mako_signin"
sessionTTL = 14 * 24 * time.Hour
flowTTL = 10 * time.Minute
)
@@ -99,7 +99,7 @@ func setCookie(w http.ResponseWriter, c config.Config, name, value, path string,
http.SetCookie(w, ck)
}
// Where to go after signing in: only a place inside Nurse, such as #/p/abc.
// Where to go after signing in: only a place inside Mako, such as #/p/abc.
var nextRe = regexp.MustCompile(`^#/[A-Za-z0-9/_.~%-]{0,300}$`)
func (s *Server) authLogin(w http.ResponseWriter, r *http.Request) {