fix: improve error messages
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m18s

This commit is contained in:
juancwu 2026-02-15 02:31:48 +00:00
commit d7cd50d671
8 changed files with 86 additions and 61 deletions

View file

@ -28,6 +28,7 @@ templ Base(props ...SEOProps) {
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="csrf-token" content={ ctxkeys.CSRFToken(ctx) }/>
<meta name="htmx-config" content='{"responseHandling":[{"code":"204","swap":false},{"code":"[23]..","swap":true},{"code":"422","swap":true},{"code":"[45]..","swap":false,"error":true},{"code":"...","swap":true}]}'/>
if len(props) > 0 {
@seo(props[0])
} else {