1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

make proxy work for object store

This commit is contained in:
Robin Appelman 2026-03-09 17:16:24 +01:00
commit 8e79e997a8

View file

@ -187,4 +187,11 @@ impl ServiceTrait for ObjectStore {
Ok(Vec::new()) Ok(Vec::new())
} }
} }
fn proxy_port(&self) -> u16 {
match self {
ObjectStore::S3 | ObjectStore::S3m | ObjectStore::S3mb => 9000,
ObjectStore::Azure => 10000,
}
}
} }