first commit
This commit is contained in:
11
internal/middleware/manage/nosurf/nocsrf.go
Normal file
11
internal/middleware/manage/nosurf/nocsrf.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package nosurf
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/justinas/nosurf"
|
||||
)
|
||||
|
||||
func NoSurf(next http.Handler) http.Handler {
|
||||
return nosurf.New(next)
|
||||
}
|
||||
Reference in New Issue
Block a user