fix response spelling

This commit is contained in:
Evan Almloff committed 2023-05-11 18:40:02 -05:00
1 parent 40d30bb434
commit 4a8542c28e
10 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ async fn double_server(cx: DioxusServerContext, number: usize) -> Result<usize,
);
// Set the cache control header to 1 hour on the post request
cx.responce_headers_mut()
cx.response_headers_mut()
.insert("Cache-Control", "max-age=3600".parse().unwrap());
println!("server calculated {result}");