Skip to content

Commit

Permalink
Fixed problem which has been described here: browserify#96
Browse files Browse the repository at this point in the history
  • Loading branch information
pmantaj committed Sep 27, 2016
1 parent 17b2990 commit 9bc4626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ var Request = module.exports = function (xhr, params) {
+ (params.port ? ':' + params.port : '')
+ (params.path || '/')
;

if (params.href !== 'undefined' && params.protocol === 'file:') self.uri = params.href;

if (typeof params.withCredentials === 'undefined') {
params.withCredentials = true;
Expand Down

0 comments on commit 9bc4626

Please sign in to comment.