2025-05-07 15:32:05 +08:00

12 lines
148 B
Go

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