fix
Some checks failed
ci/woodpecker/push/pkgbuild/2 Pipeline failed
ci/woodpecker/push/pkgbuild/1 Pipeline was successful
ci/woodpecker/push/container Pipeline was successful

This commit is contained in:
JMARyA 2025-06-29 03:50:34 +02:00
parent 7aecfdd17c
commit 60720a70ee
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -56,7 +56,9 @@ async fn launch(config: String) {
..Default::default()
})
.mount_assets()
.mount("/", routes![
.mount(
"/",
routes![
routes::index_page,
routes::pkg_route,
routes::push::upload_pkg,
@ -71,7 +73,8 @@ async fn launch(config: String) {
routes::user::change_password_post,
routes::ui::repo::repo_arch_json,
routes::ui::pkg::pkg_json
])
],
)
.manage(config)
.manage(shell)
.launch()
@ -96,7 +99,7 @@ pub fn build(image: &str, ci: bool) {
format!(
"pacman-key --populate archlinux{}",
if Architecture::own() == Architecture::aarch64 {
" && pacman-key --populate archlinux-arm".to_string()
" && pacman-key --populate archlinuxarm".to_string()
} else {
String::new()
}