https://pkg.go.dev/net/http#CrossOriginProtection is available in Go 1.25 for CSRF protection. It should be a standard middleware we add in kbexample. We'll need to use SITE_URL to call AddTrustedOrigin to make it work in production.
https://pkg.go.dev/net/http#CrossOriginProtection is available in Go 1.25 for CSRF protection. It should be a standard middleware we add in kbexample.
We'll need to use SITE_URL to call AddTrustedOrigin to make it work in production.