diff options
Diffstat (limited to 'kaasnoot-server/src/main.rs')
-rw-r--r-- | kaasnoot-server/src/main.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/kaasnoot-server/src/main.rs b/kaasnoot-server/src/main.rs deleted file mode 100644 index 40eb9c8..0000000 --- a/kaasnoot-server/src/main.rs +++ /dev/null @@ -1,13 +0,0 @@ -use tokio; -use warp::Filter; - -#[tokio::main] -async fn main() { - let hello = warp::path!("hello" / String) - .and_then(|name| format!("Hello, {}!", name)) - .or(|rip| _); - - warp::serve(hello) - .run(([127, 0, 0, 1], 3030)) - .await; -} |