From f9082d4d3eba2f567d9c2019aec5e49180684bb3 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Wed, 19 Jul 2023 03:24:25 +0000 Subject: [PATCH] add but hide image copy support --- main.go | 1 + templates/index.tmpl | 26 +++++++++++++++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index ea17134..ae10467 100644 --- a/main.go +++ b/main.go @@ -46,6 +46,7 @@ func main() { }) r.LoadHTMLFiles("templates/index.tmpl") r.StaticFile("/favicon.ico", "./assets/favicon.ico") + r.StaticFile("/html2canvas.min.js", "./assets/html2canvas.min.js") randMax := big.NewInt(maxID) diff --git a/templates/index.tmpl b/templates/index.tmpl index 455a679..1954b2a 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -2,6 +2,7 @@ blackout engine +