Update gems

This commit is contained in:
2023-09-27 21:07:57 +10:00
parent 349094f3e5
commit 7980e2e83b
2 changed files with 19 additions and 21 deletions

View File

@@ -4,6 +4,8 @@ require "hanami"
module Adamantium
class App < Hanami::App
config.assets.manifest_path = "public/assets/asset-manifest.json"
config.actions.content_security_policy[:script_src] += " 'unsafe-eval' https://gist.github.com"
config.actions.content_security_policy[:script_src] += " *.dnitza.com"
config.actions.content_security_policy[:script_src] += " https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.js"
@@ -25,7 +27,5 @@ module Adamantium
"renderers.markdown",
"post_utilities.link_finder"
]
config.assets.manifest_path = Hanami.env == :production ? "public/assets/asset-manifest.json" : nil
end
end