diff --git a/build.rs b/build.rs index 5f458cf1..d9da102e 100644 --- a/build.rs +++ b/build.rs @@ -36,6 +36,10 @@ fn main() -> std::io::Result<()> { nm_path.join("sweetalert2/dist/sweetalert2.min.js"), dist_path.join("sweetalert2.min.js"), )?; + copy( + Path::new("./static/utils.js"), + dist_path.join("utils.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 7a1ee840..df554f22 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
-