update proxmox-http dependency
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -7,7 +7,7 @@ use proxmox::api::{api, RpcEnvironment, RpcEnvironmentType, Permission};
|
||||
use proxmox::api::router::{Router, SubdirMap};
|
||||
use proxmox::tools::fs::{replace_file, CreateOptions};
|
||||
|
||||
use proxmox_http::http::ProxyConfig;
|
||||
use proxmox_http::ProxyConfig;
|
||||
|
||||
use crate::config::node;
|
||||
use crate::server::WorkerTask;
|
||||
|
@ -1660,7 +1660,7 @@ pub struct NodeStatus {
|
||||
pub const HTTP_PROXY_SCHEMA: Schema = StringSchema::new(
|
||||
"HTTP proxy configuration [http://]<host>[:port]")
|
||||
.format(&ApiStringFormat::VerifyFn(|s| {
|
||||
proxmox_http::http::ProxyConfig::parse_proxy_url(s)?;
|
||||
proxmox_http::ProxyConfig::parse_proxy_url(s)?;
|
||||
Ok(())
|
||||
}))
|
||||
.min_length(1)
|
||||
|
Reference in New Issue
Block a user