Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@bentranter bentranter released this 30 Dec 21:53
2fd9ab7

Adds the option to skip CSRF checks by using the SkipCSRFPaths option.

app := New(Option{
	SkipCSRFPaths: []string{"/api"}, // Skips CSRF protection on any route prefixed with /api
})