add pricing table to csp
This commit is contained in:
parent
c48cbc7071
commit
d6c4ec21ae
|
@ -25,7 +25,7 @@ register_html_builder("server:before-head-close") do
|
||||||
'<script async src="https://js.stripe.com/v3/pricing-table.js"></script>'
|
'<script async src="https://js.stripe.com/v3/pricing-table.js"></script>'
|
||||||
end
|
end
|
||||||
|
|
||||||
extend_content_security_policy(script_src: %w[https://js.stripe.com/v3/ https://hooks.stripe.com])
|
extend_content_security_policy(script_src: %w[https://js.stripe.com/v3/ https://hooks.stripe.com https://js.stripe.com/v3/pricing-table.js])
|
||||||
|
|
||||||
add_admin_route "discourse_subscriptions.admin_navigation", "discourse-subscriptions.plans"
|
add_admin_route "discourse_subscriptions.admin_navigation", "discourse-subscriptions.plans"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue