diff options
Diffstat (limited to 'services/nixcon-demo/src/main.rs')
-rw-r--r-- | services/nixcon-demo/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/services/nixcon-demo/src/main.rs b/services/nixcon-demo/src/main.rs new file mode 100644 index 000000000000..c05124aaa3d8 --- /dev/null +++ b/services/nixcon-demo/src/main.rs @@ -0,0 +1,8 @@ +use std::io; +use rouille::Response; + +fn main() { + rouille::start_server("0.0.0.0:8080", move |req| { + rouille::log(req, io::stdout(), || Response::text("Haló NixCon!")) + }) +} |