update
This commit is contained in:
parent
221b2a82e7
commit
2ed9cd25a3
7 changed files with 126 additions and 7 deletions
|
@ -32,5 +32,9 @@ pub async fn index_page(ctx: RequestContext) -> StringResponse {
|
|||
#[rocket::launch]
|
||||
async fn launch() -> _ {
|
||||
env_logger::init();
|
||||
rocket::build().mount("/", routes![index_page, routes::pkg_route])
|
||||
rocket::build().mount("/", routes![
|
||||
index_page,
|
||||
routes::pkg_route,
|
||||
routes::upload_pkg
|
||||
])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue