Skip to content

Commit 2874d21

Browse files
committed
changed content scripts and permissions from allurls to only local host urls so reactime only runs on apps in development mode
1 parent 1aac453 commit 2874d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension/build/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"icons": { "48": "assets/icon48.png", "128": "assets/icon128.png" },
1313
"content_scripts": [
1414
{
15-
"matches": ["<all_urls>"],
15+
"matches": ["http://localhost/*", "https://localhost/*"],
1616
"js": ["bundles/content.bundle.js"]
1717
}
1818
],
1919
"web_accessible_resources" : ["bundles/backend.bundle.js"],
20-
"permissions": ["contextMenus", "tabs", "activeTab", "<all_urls>"]
20+
"permissions": ["contextMenus", "tabs", "activeTab", "http://localhost/*", "https://localhost/*"]
2121

2222
}

0 commit comments

Comments
 (0)