mirror of
https://github.com/smartyellow/status.git
synced 2025-01-18 05:27:58 +00:00
Default 200 status code requirement
This commit is contained in:
parent
150c762379
commit
c5658c872e
@ -15,7 +15,13 @@ const dispatch = createEventDispatcher();
|
|||||||
const defaultEndpoint = {
|
const defaultEndpoint = {
|
||||||
uri: '',
|
uri: '',
|
||||||
headers: [],
|
headers: [],
|
||||||
requirements: [],
|
requirements: [
|
||||||
|
{ type: 'httpstatus',
|
||||||
|
truth: 'true',
|
||||||
|
operator: 'equal',
|
||||||
|
string: '200'
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
const defaultReq = {
|
const defaultReq = {
|
||||||
type: 'httpstatus',
|
type: 'httpstatus',
|
||||||
|
Loading…
Reference in New Issue
Block a user