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:
parent
bf7a8d9a34
commit
8e79e997a8
1 changed files with 7 additions and 0 deletions
|
|
@ -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,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue