Skip to content

Commit bd3c7ea

Browse files
committed
Improve regex for implicit urls
1 parent 8fb30b0 commit bd3c7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/extension/options/getOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const getOptions = callback => {
44
timeout: 1,
55
serialize: true,
66
inject: true,
7-
urls: 'https?:\\/\\/localhost|0\\.0\\.0\\.0:\\d+\\/(.+)?\nhttps?:\\/\\/.+\\.github\\.io\\/(.+)?'
7+
urls: '^https?://localhost|0\\.0\\.0\\.0:\\d+\n^https?://.+\\.github\\.io'
88
}, function(items) {
99
callback(items);
1010
});

0 commit comments

Comments
 (0)