Skip to content

Commit e8a5549

Browse files
committed
Add required host_permissions for Klipy and GIPHY APIs
The Klipy migration removed the api.giphy.com host permission from the manifest but didn't add an equivalent for api.klipy.com. With no required host permission for the GIF API endpoints, content-script fetches from github.com are blocked unless the user opts in to the optional <all_urls> toggle (off by default in Firefox), causing a "Something went wrong" error on install/update. Restore host_permissions for both api.klipy.com (default provider) and api.giphy.com (optional fallback when the user supplies their own key via the options page) so search works out of the box. Made-with: Cursor
1 parent 2d7c8e5 commit e8a5549

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/manifest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"activeTab",
2424
"storage"
2525
],
26+
"host_permissions": [
27+
"https://api.klipy.com/*",
28+
"https://api.giphy.com/*"
29+
],
2630
"optional_host_permissions": [
2731
"http://*/*",
2832
"https://*/*",

0 commit comments

Comments
 (0)