♻️ refactor
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2025-04-01 13:33:16 +02:00
parent b721c21d9f
commit b33439656a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 315 additions and 197 deletions

View file

@ -51,23 +51,20 @@ async fn launch() -> _ {
..Default::default()
})
.mount_assets()
.mount(
"/",
routes![
routes::index_page,
routes::pkg_route,
routes::push::upload_pkg,
routes::user::login,
routes::user::login_post,
routes::user::account_page,
routes::ui::pkg_ui,
routes::ui::repo_ui,
routes::user::new_api_key,
routes::user::end_session,
routes::user::change_password,
routes::user::change_password_post
],
)
.mount("/", routes![
routes::index_page,
routes::pkg_route,
routes::push::upload_pkg,
routes::user::login,
routes::user::login_post,
routes::user::account_page,
routes::ui::pkg_ui,
routes::ui::repo_ui,
routes::user::new_api_key,
routes::user::end_session,
routes::user::change_password,
routes::user::change_password_post
])
.manage(config)
.manage(shell)
}