Disable CSP on order ticket printing via QZ

This commit is contained in:
Matt-Yorkley
2021-12-26 13:40:56 +00:00
parent 8bb3fddbed
commit a6af9b3ad5

View File

@@ -16,6 +16,8 @@ module Spree
before_action :ensure_distribution, only: :new
before_action :require_distributor_abn, only: :invoice
content_security_policy false, only: :print_ticket
respond_to :html, :json
def new