diff --git a/src/serve_dir_included.rs b/src/serve_dir_included.rs index 9a92c20..dc50c65 100644 --- a/src/serve_dir_included.rs +++ b/src/serve_dir_included.rs @@ -39,9 +39,6 @@ pub async fn handle( req: Request, included_dir: &'static Dir<'static>, ) -> Result { - #[cfg(windows)] - compile_error!("this is not safe"); - let path = req.uri().path(); let has_dotdot = path.split('/').any(|seg| seg == "..");