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
})
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
})