From 1e8783e23c3c5e64acc40464329b64e3de6e2a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Pej=C5=A1a?= Date: Mon, 25 Mar 2019 14:44:45 +0100 Subject: Document file upload. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 37a3226..fb7e321 100644 --- a/src/main.rs +++ b/src/main.rs @@ -197,7 +197,7 @@ fn configure_app(app: App) -> App { let random_route = app.state().random_route.clone().unwrap_or_default(); let full_route = format!("/{}", random_route); - //allow file upload + // Allow file upload let app = app.resource("/upload", |r| { r.method(Method::POST).f(file_upload::upload_file) }); -- cgit v1.2.3