Skip to content

Commit

Permalink
Fix RegExp again
Browse files Browse the repository at this point in the history
  • Loading branch information
stoically authored and Perflyst committed Mar 29, 2018
1 parent bf18552 commit 9d776c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function getMACAssignment (url) {

function generateGoogleHostREs () {
for (let googleDomain of GOOGLE_DOMAINS) {
googleHostREs.push(new RegExp(`^(.*)?${googleDomain}$`));
googleHostREs.push(new RegExp(`^(.*\\.)?${googleDomain}$`));
}
}

Expand Down

0 comments on commit 9d776c3

Please sign in to comment.