Skip to content

Commit

Permalink
fix: handle false timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed May 30, 2019
1 parent 4bb489d commit d965efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default (ctx, inject) => {
// Defaults
const defaults = {
retry: <%= parseInt(options.retry) %>,
timeout: process.server ? <%= parseInt(options.serverTimeout) %> : <%= parseInt(options.clientTimeout) %>,
timeout: process.server ? <%= options.serverTimeout %> : <%= options.clientTimeout %>,
prefixUrl,
headers: {}
}
Expand Down

0 comments on commit d965efa

Please sign in to comment.