switch to launch builder instead of macro for fullstack

This commit is contained in:
Evan Almloff committed 2023-07-28 12:58:34 -07:00
1 parent cfd62e274e
commit 9f891f9478
13 files changed
+259 -193

No files matched your search

@@ -369,7 +369,8 @@ fn apply_request_parts_to_response<B>(
}
}
async fn render_handler<P: Clone + serde::Serialize + Send + Sync + 'static>(
/// SSR renderer handler for Axum
pub async fn render_handler<P: Clone + serde::Serialize + Send + Sync + 'static>(
State((cfg, ssr_state)): State<(ServeConfig<P>, SSRState)>,
request: Request<Body>,
) -> impl IntoResponse {