Add proof-of-concept server intercom service through auth server

This commit is contained in:
NG (Graham) committed 2025-10-26 15:43:51 -04:00
1 parent 3e09a5e554
commit b3ad2c3758
28 files changed
+613 -54

No files matched your search

+2
View File
@@ -271,6 +271,8 @@ impl <C: Clone + Send> super::ConfigProvider<C> for CubeConfig {
auto_signup: self.settings.server.auto_signup,
queue_mode: super::QueueChangeMode::from_persist(self.settings.server.queue_mode.clone()),
cdn_url: self.settings.server.cdn_url.trim_end_matches('/').to_owned(),
auth_url: self.settings.server.auth_url.trim_matches('/').to_owned(),
intercom_url: self.settings.server.intercom_url.trim_matches('/').to_owned(),
}
}
+2
View File
@@ -113,6 +113,8 @@ pub struct ServerConfig {
pub auto_signup: bool,
pub queue_mode: QueueChangeMode,
pub cdn_url: String,
pub auth_url: String,
pub intercom_url: String,
}
pub enum QueueChangeMode {