Ajout post #4

Merged
florian.richer merged 17 commits from add-posts into main 2023-12-09 19:51:18 +01:00
Showing only changes of commit cde7d8db7f - Show all commits

View file

@ -24,6 +24,7 @@ cfg_if! {
let site_root = &leptos_options.site_root;
let routes = &routes;
App::new()
.route("/api/{tail:.*}", leptos_actix::handle_server_fns())
.leptos_routes(leptos_options.to_owned(), routes.to_owned(), || view! { <App/> })
.service(Files::new("/", site_root))
.wrap(middleware::Compress::default())