From e3731b255ff0fdccd4b95e2436c4abd2eddfd623 Mon Sep 17 00:00:00 2001 From: Max Amundsen Date: Sun, 9 Mar 2025 17:51:32 -0400 Subject: [PATCH] temp changes --- ui/root.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/root.go b/ui/root.go index 868abfc..3bd9b5e 100644 --- a/ui/root.go +++ b/ui/root.go @@ -12,18 +12,18 @@ func RootLayout(title string, children ...Node) Node { // automatically invalidates cached css when file hash changes css_hash, err := security.QuickFileHash("./wwwroot/css/style.css") if err != nil { - return Text("Error hashing style.css") + return Text(err.Error()) } metagen_css_hash, err := security.QuickFileHash("./wwwroot/css/style.metagen.css") if err != nil { - return Text("Error hashing style.css") + return Text(err.Error()) } // automatically invalidates cached js when file hash changes js_hash, err := security.QuickFileHash("./wwwroot/js/index.js") if err != nil { - return Text("Error hashing index.js") + return Text(err.Error()) } return Doctype(