fix
This commit is contained in:
parent
7aecfdd17c
commit
60720a70ee
1 changed files with 20 additions and 17 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue