update + htmx
This commit is contained in:
parent
40d69b61e1
commit
291949b8c6
8 changed files with 277 additions and 10 deletions
8
src/htmx.rs
Normal file
8
src/htmx.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
use rocket::get;
|
||||
|
||||
use crate::request::{StringResponse, respond_script};
|
||||
|
||||
#[get("/assets/htmx.min.js")]
|
||||
pub fn htmx_script_route() -> StringResponse {
|
||||
respond_script(include_str!("htmx.min.js"))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue