From d6555edc29de66ff5190b716a1f8ebac8dbb2110 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 29 Dec 2024 21:37:45 +0100 Subject: [PATCH] fix --- src/htmx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmx.rs b/src/htmx.rs index 6c17189..6271666 100644 --- a/src/htmx.rs +++ b/src/htmx.rs @@ -4,5 +4,5 @@ use crate::request::{StringResponse, respond_script}; #[get("/assets/htmx.min.js")] pub fn htmx_script_route() -> StringResponse { - respond_script(include_str!("htmx.min.js")) + respond_script(include_str!("htmx.min.js").to_string()) }