From 33dee04e8e882a4d1acf052039ed962c6521b67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bego=C3=B1a=20=C3=81lvarez=20de=20la=20Cruz?= Date: Thu, 22 Aug 2024 09:08:40 +0200 Subject: [PATCH] feat(wallet): add compatibility with protected font (#1740) * feat: test protected font * feat: test protected font * feat: add misssing link * feat: update link * fix: add missing properties to link * fix: use testing version of the webassets to test font loading * fix: use crossorigin `anonymous` and use staging webassets server * fix: use production webassets * fix: formatting in html * fix: format --------- Co-authored-by: evavirseda Co-authored-by: JCNoguera Co-authored-by: JCNoguera <88061365+VmMad@users.noreply.github.com> --- apps/wallet/src/manifest/manifest.json | 2 +- apps/wallet/src/ui/index.template.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/wallet/src/manifest/manifest.json b/apps/wallet/src/manifest/manifest.json index 700816abd07..a3bd5bf8ec2 100644 --- a/apps/wallet/src/manifest/manifest.json +++ b/apps/wallet/src/manifest/manifest.json @@ -39,6 +39,6 @@ } ], "content_security_policy": { - "extension_pages": "default-src 'none'; object-src 'none'; connect-src *; font-src 'self'; img-src * data:; media-src *; script-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'self'; form-action 'none'; frame-ancestors 'none';" + "extension_pages": "default-src 'none'; object-src 'none'; connect-src *; font-src 'self' data: https://webassets.iota.org; img-src * data:; media-src *; script-src 'self'; style-src 'self' 'unsafe-inline' https://webassets.iota.org; base-uri 'self'; form-action 'none'; frame-ancestors 'none';" } } diff --git a/apps/wallet/src/ui/index.template.html b/apps/wallet/src/ui/index.template.html index 9ce1514d4ea..1219138d23c 100644 --- a/apps/wallet/src/ui/index.template.html +++ b/apps/wallet/src/ui/index.template.html @@ -4,6 +4,11 @@ <%= htmlWebpackPlugin.options.title %> +