Allow localUrl in manifest
This commit is contained in:
parent
4a6b103f0e
commit
6fe361b382
@ -26,6 +26,8 @@ pub struct App {
|
||||
pub author: String,
|
||||
#[serde(rename="iconUrl")]
|
||||
pub icon_url: String,
|
||||
#[serde(rename="localUrl")]
|
||||
pub local_url: String;
|
||||
}
|
||||
|
||||
impl App {
|
||||
@ -38,6 +40,7 @@ impl App {
|
||||
version: info.version.to_owned(),
|
||||
author: info.author.to_owned(),
|
||||
icon_url: info.icon_url.to_owned(),
|
||||
local_url: info.local_url.to_owned(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -50,6 +53,7 @@ impl Into<EndpointInfo> for App {
|
||||
version: self.version,
|
||||
author: self.author,
|
||||
icon_url: self.icon_url,
|
||||
local_url: self.local_url,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -44,6 +44,7 @@ pub struct EndpointInfo {
|
||||
pub version: String,
|
||||
pub author: String,
|
||||
pub icon_url: String,
|
||||
pub local_url: String,
|
||||
}
|
||||
|
||||
pub type Endpoints = BTreeMap<String, Box<Endpoint>>;
|
||||
|
Loading…
Reference in New Issue
Block a user