We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d33da commit b6da141Copy full SHA for b6da141
apps/desktop/src-tauri/src/posthog.rs
@@ -71,7 +71,7 @@ pub fn set_server_url(url: &str) {
71
*API_SERVER_IS_CAP_CLOUD
72
.get_or_init(Default::default)
73
.write()
74
- .unwrap_or_else(PoisonError::into_inner) = Some(url.contains("https://cap.so"));
+ .unwrap_or_else(PoisonError::into_inner) = Some(url == "https://cap.so");
75
}
76
77
static API_SERVER_IS_CAP_CLOUD: OnceLock<RwLock<Option<bool>>> = OnceLock::new();
0 commit comments