Skip to content

Commit

Permalink
style: standard
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 24, 2016
1 parent 83e246d commit c321b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.js
Expand Up @@ -17,7 +17,7 @@ function request (state, options) {
url: options.url || options
}

if ((/^\/([^\/]|$)/).test(requestOptions.url)) {
if ((/^\/([^/]|$)/).test(requestOptions.url)) {
requestOptions.url = state.url + requestOptions.url
}

Expand Down

0 comments on commit c321b5b

Please sign in to comment.