fix docker
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-04-16 09:04:22 +02:00
parent 7d774db363
commit 6e138a4c94
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 19 additions and 16 deletions

View file

@ -56,20 +56,23 @@ async fn launch(config: String) {
..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)
.launch()