diff options
author | Tom Smeding <tom@tomsmeding.com> | 2025-01-19 16:22:12 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2025-01-19 16:22:58 +0100 |
commit | 69c079a99436a9ea6b8025de03ae21ebd11e00c9 (patch) | |
tree | dce458d0fdcd11746631e55500ff148843ce89b8 /kaasnoot-server/src | |
parent | 6d70c89a2b45d86cd12a99467d6e1eb4c6328ed7 (diff) |
Move kaasnoot-server to server
Diffstat (limited to 'kaasnoot-server/src')
-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; -} |