From 473204fc5e8c6ca31488f38b033d0d70500ffc98 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sat, 23 Mar 2024 08:43:47 +1100 Subject: [PATCH] Allow tinylitics --- config/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.rb b/config/app.rb index e32dcf2..76f53cb 100644 --- a/config/app.rb +++ b/config/app.rb @@ -13,7 +13,7 @@ module Adamantium config.actions.content_security_policy[:script_src] += " https://cdn.jsdelivr.net/npm/@alpinejs/persist@3.13.3/dist/cdn.min.js" config.actions.content_security_policy[:script_src] += " https://unpkg.com/@highlightjs/cdn-assets@11.8.0/highlight.min.js" - config.actions.content_security_policy[:connect_src] += " https://stats.dnitza.com/api/event https://*.mapbox.com https://tinylytics.app/*" + config.actions.content_security_policy[:connect_src] += " https://stats.dnitza.com/api/event https://*.mapbox.com https://tinylytics.app/collector/Z9ayumyWxepAmHcieV1c" config.actions.content_security_policy[:frame_src] += " https://embed.music.apple.com https://www.youtube.com https://www.youtube-nocookie.com https://player.vimeo.com" config.actions.content_security_policy[:style_src] += " https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.css" config.actions.content_security_policy[:style_src] += " https://unpkg.com/@highlightjs/cdn-assets@11.8.0/styles/github-dark.min.css"