mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Disable CSP on order ticket printing via QZ
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user