chore: reorg
This commit is contained in:
11
__web/sincere/src/main.rs
Normal file
11
__web/sincere/src/main.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use sincere::App;
|
||||
|
||||
fn main() {
|
||||
let mut app = App::new();
|
||||
|
||||
app.get("/", |context| {
|
||||
context.response.from_text("Hello world!").unwrap();
|
||||
});
|
||||
|
||||
app.run("127.0.0.1:8000", 20).unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user