Skip to content

Commit

Permalink
fix: correct the treatment of 300x status codes as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Apr 5, 2024
1 parent 52cd7e7 commit d11ad67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/presets/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export const fields = [
comment: 'Код ответа страницы',
comment_en: 'HTTP answer code',
validate: {
warning: '== 0',
// warning: '== 0',
warning: '< 1',
error: '> 400',
},
stat: {
Expand Down

0 comments on commit d11ad67

Please sign in to comment.