Skip to content

Commit

Permalink
Improve regex for implicit urls
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed Nov 18, 2015
1 parent 8fb30b0 commit bd3c7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/extension/options/getOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const getOptions = callback => {
timeout: 1,
serialize: true,
inject: true,
urls: 'https?:\\/\\/localhost|0\\.0\\.0\\.0:\\d+\\/(.+)?\nhttps?:\\/\\/.+\\.github\\.io\\/(.+)?'
urls: '^https?://localhost|0\\.0\\.0\\.0:\\d+\n^https?://.+\\.github\\.io'
}, function(items) {
callback(items);
});
Expand Down

0 comments on commit bd3c7ea

Please sign in to comment.