mirror of
https://codeberg.org/selfsigned-ash/antifed
synced 2026-11-02 17:43:28 +01:00
🎉 Inits backend
This commit is contained in:
commit
b8d3d427a3
5 files changed
+1653
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#[macro_use] extern crate rocket;
|
||||
|
||||
#[get("/")]
|
||||
async fn index() -> &'static str {
|
||||
"Hello World!"
|
||||
}
|
||||
|
||||
#[launch]
|
||||
fn rocket() -> _ {
|
||||
rocket::build().mount("/", routes![index])
|
||||
}
|
||||
Reference in new issue
Block a user