For AI agents: a documentation index is available at /llms.txt
Skip to main content

RejectOptions

Properties

PropertyTypeDescription
enabled?booleanWhether or not to enable request rejections Default true
method?Method[]The Method of the request you'd like to reject
operator?OperatorTypeWhether to "or" conditions together, meaning any condition that matches will be rejected, or "and" them together meaning every condition must match to reject the request. Default or
regex?string[]The JavaScript regular-expression pattern(s) you'd like to reject requests by URL
type?ResourceType[]The type of resource you'd like to reject request to
url?string[]The glob-style URL pattern you'd like to reject requests to