Page MenuHomePhabricator

[Cashtab] Modify csp headers to allow base64 font used in swiper
ClosedPublic

Authored by bytesofman on Nov 13 2024, 04:33.

Details

Summary

Getting swiper css working with npm start and also on netlify test deployments. But not on Cashtab prod. Looking into network, the font file fails to load due to CSP restrictions.

Add CSP directive in header to allow loading base-64 font.

Test Plan

Hard to test this without seeing it with the header, which requires the URL. So, will see when it lands.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
swiper-prod-patch
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31118
Build 61737: Build Diffcashtab-tests
Build 61736: arc lint + arc unit