diff --git a/build.rs b/build.rs index 420f6f46..5f458cf1 100644 --- a/build.rs +++ b/build.rs @@ -32,6 +32,10 @@ fn main() -> std::io::Result<()> { nm_path.join("htmx.org/dist/ext/response-targets.js"), dist_path.join("response-targets.js"), )?; + copy( + nm_path.join("sweetalert2/dist/sweetalert2.min.js"), + dist_path.join("sweetalert2.min.js"), + )?; copy( Path::new("./static/brass.jpeg"), dist_path.join("brass.jpeg"), diff --git a/src/endpoints/user/post_toggle.rs b/src/endpoints/user/post_toggle.rs index b2266cad..7a1ee840 100644 --- a/src/endpoints/user/post_toggle.rs +++ b/src/endpoints/user/post_toggle.rs @@ -56,7 +56,7 @@ pub async fn post( Entsperren
ja
-