Default port is now 1984 everywhere
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
This commit is contained in:
1 parent
dbe8a8d4e0
commit
bdccace271
9 files changed
+35
-35
No files matched your search
+3
-3
@@ -76,7 +76,7 @@ impl Default for ServerConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
bind: IpAddr::V4(Ipv4Addr::LOCALHOST),
|
||||
port: 9109,
|
||||
port: 1984,
|
||||
allowed_hosts: Vec::new(),
|
||||
allowed_origins: Vec::new(),
|
||||
tls: TlsConfig::default(),
|
||||
@@ -351,7 +351,7 @@ mod tests {
|
||||
Jail::expect_with(|_| {
|
||||
let c = load(None, &CliOverrides::default()).unwrap();
|
||||
assert_eq!(c, Config::default());
|
||||
assert_eq!(c.server.port, 9109);
|
||||
assert_eq!(c.server.port, 1984);
|
||||
assert!(c.auth.enabled);
|
||||
assert_eq!(c.limits.max_lines, 1000);
|
||||
assert_eq!(c.limits.max_follow_secs, 60);
|
||||
@@ -484,6 +484,6 @@ mod tests {
|
||||
.insert("authorization".into(), "secret".into());
|
||||
let s = c.to_toml_redacted().unwrap();
|
||||
assert!(!s.contains("secret"));
|
||||
assert!(s.contains("port = 9109"));
|
||||
assert!(s.contains("port = 1984"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user