diff options
| author | Fuwn <[email protected]> | 2021-05-04 19:29:45 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-04 19:29:45 +0000 |
| commit | 5e87a453df1a9cb1235e2657f0dffb3cb66b0c11 (patch) | |
| tree | 5b4c8695400fab545ef202a679dd669dbc975ebf /src/config/mod.rs | |
| parent | style(global): fix clippy complaints (diff) | |
| download | whirl-5e87a453df1a9cb1235e2657f0dffb3cb66b0c11.tar.xz whirl-5e87a453df1a9cb1235e2657f0dffb3cb66b0c11.zip | |
feat(redirect_id): specify custom ip in config
Adds the abiltiy to specify a custom IP in the Whirl.toml
BREAKING CHANGE: This feature updates the configuration file format, update your Whirl.toml per the
repository example.
Diffstat (limited to 'src/config/mod.rs')
| -rw-r--r-- | src/config/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 4f01313..b1fa789 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -7,6 +7,7 @@ use config::{ConfigError, File}; pub struct WhirlsplashConfig { pub worldsmaster_username: String, pub log_level: i64, + pub ip: String, } #[derive(Serialize, Deserialize, Debug)] pub struct DistributorConfig { |