Skip to content

Commit

Permalink
fix: update lottie csp (#1766)
Browse files Browse the repository at this point in the history
* update lottie csp

* add lottie version

* update csp
  • Loading branch information
brendan-defi authored Feb 13, 2025
1 parent 3c892b2 commit ca8dad7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
4 changes: 3 additions & 1 deletion apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ const contentSecurityPolicy = {
'https://*.datadoghq.com', //datadog
'https://translate.googleapis.com', // Let user translate our website
'https://sdk-api.neynar.com/', // Neynar API
'https://unpkg.com/@lottiefiles/[email protected]/dist/dotlottie-player.wasm', // lottie player
'https://cdn.jsdelivr.net/npm/@lottiefiles/[email protected]/dist/dotlottie-player.wasm', // lottie player for profile pages
'https://unpkg.com/@lottiefiles/[email protected]/dist/dotlottie-player.wasm', // lottie player for profile pages
'https://unpkg.com/@lottiefiles/[email protected]/dist/dotlottie-player.wasm', // lottie player for api
`https://${process.env.NEXT_PUBLIC_PINATA_GATEWAY_URL}`,
'https://usdc-claim-git-master-coinbase-vercel.vercel.app',
'https://eth.merkle.io', // new default viem rpc
Expand Down

0 comments on commit ca8dad7

Please sign in to comment.