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 = {
|
||||
uri: '',
|
||||
headers: [],
|
||||
requirements: [],
|
||||
requirements: [
|
||||
{ type: 'httpstatus',
|
||||
truth: 'true',
|
||||
operator: 'equal',
|
||||
string: '200'
|
||||
},
|
||||
],
|
||||
};
|
||||
const defaultReq = {
|
||||
type: 'httpstatus',
|
||||
|
Loading…
Reference in New Issue
Block a user