first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use rocket::fs::FileServer;
|
||||
|
||||
#[rocket::main]
|
||||
async fn main() -> Result<(), Box<rocket::Error>> {
|
||||
let frontend = FileServer::from("frontend");
|
||||
let server = rocket::build().mount("/", frontend);
|
||||
server.launch().await?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user