This commit is contained in:
JMARyA 2024-12-26 01:07:43 +01:00
parent 221b2a82e7
commit 2ed9cd25a3
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 126 additions and 7 deletions

View file

@ -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
])
}