Files
adamantium/config/app.rb
2023-01-27 22:55:09 +11:00

12 lines
362 B
Ruby

# frozen_string_literal: true
require "hanami"
module Adamantium
class App < Hanami::App
config.actions.content_security_policy[:script_src] += " https://gist.github.com"
config.actions.content_security_policy[:script_src] += " *.dnitza.com"
config.actions.content_security_policy[:connect_src] += " https://stats.dnitza.com/api/event"
end
end