diff options
Diffstat (limited to 'examples/input.rs')
| -rw-r--r-- | examples/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/input.rs b/examples/input.rs index 75e97cb..e8f3111 100644 --- a/examples/input.rs +++ b/examples/input.rs @@ -17,11 +17,11 @@ //! `cargo run --example input` -use windmark::{context::RouteContext, Response}; +use windmark::{context::RouteContext, response::Response}; #[windmark::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { - windmark::Router::new() + windmark::router::Router::new() .set_private_key_file("windmark_private.pem") .set_certificate_file("windmark_public.pem") .mount("/input", |context: RouteContext| { |