Web wallet api updates (#1155)

* CORS for webwallet

* rustfmt

* automatically start up wallet web api (owner) listener
This commit is contained in:
Yeastplume
2018-06-11 18:19:38 +01:00
committed by GitHub
parent 973d46e6aa
commit 05073c5c02
5 changed files with 38 additions and 5 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ impl From<io::Error> for ConfigError {
/// as they tend to be quite nested in the code
/// Most structs optional, as they may or may not
/// be needed depending on what's being run
#[derive(Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct GlobalConfig {
/// Keep track of the file we've read
pub config_file_path: Option<PathBuf>,
@@ -91,7 +91,7 @@ pub struct GlobalConfig {
/// level GlobalConfigContainer options might want to keep
/// internal state that we don't necessarily
/// want serialised or deserialised
#[derive(Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct ConfigMembers {
/// Server config
#[serde(default)]