Feature: setup de Tauri v2 avec le routing fait par Axum #20

Merged
florian_briand merged 3 commits from feature-setup-tauri-v2-with-axum into main 2024-07-22 13:25:31 +02:00
Showing only changes of commit d370a9b85d - Show all commits

View File

@ -27,7 +27,6 @@ async fn route_fallback(uri: axum::http::Uri) -> (axum::http::StatusCode, String
fn build_axum_request(uri: Uri) -> axum::http::Request<axum::body::Body> { fn build_axum_request(uri: Uri) -> axum::http::Request<axum::body::Body> {
axum::http::Request::builder() axum::http::Request::builder()
// .method("GET")
.uri(uri.to_string()) .uri(uri.to_string())
florian_briand marked this conversation as resolved
Review

commentaire oublié

commentaire oublié
.body(axum::body::Body::empty()) .body(axum::body::Body::empty())
.unwrap() .unwrap()