forked from 3wordchant/capsul-flask
cleanup
This commit is contained in:
parent
9164250d4d
commit
2b0ff06ec8
@ -187,8 +187,7 @@ def redirect_to_stripe(stripe_checkout_session_id):
|
|||||||
stripe_public_key=current_app.config["STRIPE_PUBLISHABLE_KEY"]
|
stripe_public_key=current_app.config["STRIPE_PUBLISHABLE_KEY"]
|
||||||
))
|
))
|
||||||
|
|
||||||
if stripe_checkout_session_id is not None:
|
response.headers['Content-Security-Policy'] = "default-src 'self' https://js.stripe.com"
|
||||||
response.headers['Content-Security-Policy'] = "default-src 'self' https://js.stripe.com"
|
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user