serve web
Some checks failed
ci/woodpecker/push/pipeline Pipeline failed

This commit is contained in:
sorrel 2024-04-30 17:54:06 -04:00
parent b2ae852f0b
commit c580bb7e9f
2 changed files with 24 additions and 21 deletions

View file

@ -1,5 +1,3 @@
name: ludo-go-pipeline
when: when:
branch: branch:
include: [ main ] include: [ main ]

View file

@ -1,3 +1,8 @@
fn main() { use warp::Filter;
println!("Hello, world!");
#[tokio::main]
async fn main() {
let root = warp::path::end().map(|| "hello world");
warp::serve(root).run(([127, 0, 0, 1], 5000)).await;
} }