1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Add codefi.network host permission (#17029)

This host permission bypasses cross-origin restrictions for our
internal APIs (see here for details on host permissions and CORs [1]).
This acts as a safeguard, ensuring that if CORs is misconfigured on
these endpoints, everything will still work.

[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions#host_permissions
This commit is contained in:
Mark Stacey 2022-12-22 09:56:33 -03:30 committed by GitHub
parent d66db28ae6
commit b0959e221b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,7 @@
"clipboardWrite",
"http://localhost:8545/",
"https://*.infura.io/",
"https://*.codefi.network/",
"https://chainid.network/chains.json",
"https://lattice.gridplus.io/*",
"activeTab",