Add support for using the webpack-dev-server

This commit is contained in:
Eric Schultz 2020-04-21 17:30:37 -05:00
parent 49bdabe889
commit 2594f926e7

View file

@ -0,0 +1,6 @@
# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
Rails.application.config.content_security_policy do |policy|
policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development?
end