Skip to content

Commit

Permalink
Merge pull request #279 from lidofinance/local-fonts-parmissions
Browse files Browse the repository at this point in the history
feat: add local fonts support
  • Loading branch information
AnnaSila authored Oct 14, 2024
2 parents c8bf56a + 6ab394c commit a250d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shared/utils/csp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const reportOnly = cspReportOnly === 'true'
export const contentSecurityPolicy = {
directives: {
styleSrc: ["'self'", 'https://fonts.googleapis.com', "'unsafe-inline'"],
fontSrc: ["'self'", 'https://fonts.gstatic.com', ...trustedHosts],
fontSrc: ["'self'", 'data:', 'https://fonts.gstatic.com', ...trustedHosts],
imgSrc: [
"'self'",
'data:',
Expand Down

0 comments on commit a250d3d

Please sign in to comment.