push codeee
This commit is contained in:
commit
ec0f0777c1
7 changed files with 1936 additions and 0 deletions
12
src/main.rs
Normal file
12
src/main.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
extern crate rocket;
|
||||
|
||||
use rocket::{get,launch, build, routes};
|
||||
|
||||
#[get("/")]
|
||||
fn index() -> &'static str {
|
||||
"Hewwo wowd :3"
|
||||
}
|
||||
#[launch]
|
||||
fn rocket() -> _ {
|
||||
build().mount("/", routes![index])
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue