Skip to content

Commit

Permalink
feat: add text/html to the accepted mime types (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicoder86 committed Jan 31, 2021
1 parent ab5aa14 commit 7a9f94b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Expand Up @@ -79,7 +79,10 @@ function waitAndRun ({ start, url, runFn }) {
timeout: waitOnTimeout,
verbose: isDebug(),
strictSSL: !isInsecure(),
log: isDebug()
log: isDebug(),
headers: {
'Accept': 'text/html, application/json, text/plain, */*'
}
}
debug('wait-on options %o', options)

Expand Down

0 comments on commit 7a9f94b

Please sign in to comment.