diff --git a/next.config.js b/next.config.js index a155ece7..e684ae97 100644 --- a/next.config.js +++ b/next.config.js @@ -8,7 +8,7 @@ const contentSecurityPolicy = [ `img-src *`, `script-src 'self' 'unsafe-eval' 'unsafe-inline'`, `style-src 'self' 'unsafe-inline'`, - `connect-src 'self' api.umami.is`, + `connect-src 'self' api.umami.is cloud.umami.is`, `frame-ancestors 'self' ${process.env.ALLOWED_FRAME_URLS || ''}`, ]; diff --git a/src/app/(main)/App.tsx b/src/app/(main)/App.tsx index 4b093165..74be8292 100644 --- a/src/app/(main)/App.tsx +++ b/src/app/(main)/App.tsx @@ -27,7 +27,7 @@ export function App({ children }) { {children} {process.env.NODE_ENV === 'production' && !pathname.includes('/share/') && ( -