From 402c31067789192f5d03c44484be1a0d38e004a4 Mon Sep 17 00:00:00 2001 From: Arzumify Date: Sat, 4 May 2024 18:58:41 +0100 Subject: [PATCH] Pass through the nonce in the /app proxy --- main.go | 2 +- templates/main.html | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index f4bbb9f..a64069b 100644 --- a/main.go +++ b/main.go @@ -768,7 +768,7 @@ func main() { return } - if nonce == "" { + if nonce == "none" { nonce = genSalt(512) } diff --git a/templates/main.html b/templates/main.html index 05af2e1..a0003a5 100644 --- a/templates/main.html +++ b/templates/main.html @@ -8,7 +8,7 @@