parent
cd140f0160
commit
d6555edc29
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ use crate::request::{StringResponse, respond_script};
|
||||||
|
|
||||||
#[get("/assets/htmx.min.js")]
|
#[get("/assets/htmx.min.js")]
|
||||||
pub fn htmx_script_route() -> StringResponse {
|
pub fn htmx_script_route() -> StringResponse {
|
||||||
respond_script(include_str!("htmx.min.js"))
|
respond_script(include_str!("htmx.min.js").to_string())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue