From 93d9168bbf1baeff230555510620a7201fd1802d Mon Sep 17 00:00:00 2001 From: Paul Hansen Date: Thu, 4 Jan 2024 18:13:58 -0600 Subject: [PATCH] Cleanup some dead code in actix tailwind example --- examples/tailwind_actix/src/main.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/tailwind_actix/src/main.rs b/examples/tailwind_actix/src/main.rs index 02b75aa6fd..b94b351d01 100644 --- a/examples/tailwind_actix/src/main.rs +++ b/examples/tailwind_actix/src/main.rs @@ -9,11 +9,6 @@ cfg_if! { use crate::app::*; use leptos_actix::{generate_route_list, LeptosRoutes}; - #[get("/style.css")] - async fn css() -> impl Responder { - actix_files::NamedFile::open_async("./style/output.css").await - } - #[actix_web::main] async fn main() -> std::io::Result<()> { @@ -30,7 +25,6 @@ cfg_if! { let site_root = &leptos_options.site_root; let routes = &routes; App::new() - .service(css) .leptos_routes(leptos_options.to_owned(), routes.to_owned(), || view! { }) .service(Files::new("/", site_root)) .wrap(middleware::Compress::default())