From a50c0ebaddc3e83f7b2cdeabbfea8cccf6a5a7ca Mon Sep 17 00:00:00 2001 From: 4cuck <40539855+4cuck@users.noreply.github.com> Date: Wed, 14 Oct 2026 00:05:02 +0000 Subject: [PATCH] Let donation forms redirect to the card, crypto, and LZT checkouts. Brave and Chrome were blocking those redirects because the content security policy only allowed forms to stay on this site. Co-authored-by: Cursor --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4d574a2..32bf523 100644 --- a/src/main.rs +++ b/src/main.rs @@ -200,7 +200,10 @@ async fn main() -> eyre::Result<()> { media-src 'self' blob: https://*.twimg.com; \ font-src 'self'; \ connect-src 'self' https://*.twimg.com https://video.pscp.tv https://*.video.pscp.tv; \ - form-action 'self'; \ + manifest-src 'self'; \ + form-action 'self' https://nitter.cf https://www.nitter.cf https://xitter.cf https://www.xitter.cf \ + https://checkout.stripe.com https://nowpayments.io https://*.nowpayments.io \ + https://lzt.market https://*.lzt.market; \ base-uri 'self'; \ frame-ancestors 'none'" ),