From 255a7bccb6c0a7a2cd4ef24a58599aedbfc91aab Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 2 Jul 2024 14:13:45 +0100 Subject: feat: allow advertising a fake version to clients (#2228) * feat: allow advertising a fake version to clients The server usually runs unstable Atuin, and is well monitored. But let's not advertised the unstable version to clients, as they will notify users there is an update available. * fix test build --- crates/atuin-server/src/handlers/mod.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crates/atuin-server/src/handlers/mod.rs') diff --git a/crates/atuin-server/src/handlers/mod.rs b/crates/atuin-server/src/handlers/mod.rs index 50f82336..ce10f4b7 100644 --- a/crates/atuin-server/src/handlers/mod.rs +++ b/crates/atuin-server/src/handlers/mod.rs @@ -19,10 +19,16 @@ pub async fn index(state: State>) -> Json