2025-03-28 17:51:34 +08:00

12 lines
164 B
Go

package middleware
import (
"net/http"
"github.com/justinas/nosurf"
)
func (m *middleware) NoSurf(next http.Handler) http.Handler {
return nosurf.New(next)
}