Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

Commit

Permalink
Fix referral bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Synzvato committed Dec 14, 2015
1 parent 3101f0a commit 4214759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interceptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var Interceptor = new Class({
httpChannel.setRequestHeader('Referer', null, false);

// Temporary fix for reported issues with the Play Store website.
if (httpChannel.referrer.host === 'play.google.com') {
if (httpChannel.referrer && httpChannel.referrer.host === 'play.google.com') {
this.handleMissingCandidate(httpChannel);
return;
}
Expand Down

0 comments on commit 4214759

Please sign in to comment.