mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-21 23:18:06 -04:00
16 lines
269 B
Rust
16 lines
269 B
Rust
use tokio::sync::Mutex;
|
|
|
|
pub struct Env {
|
|
pub api_url: Mutex<String>,
|
|
pub client_id: String,
|
|
}
|
|
|
|
impl Env {
|
|
pub fn new(client_id: &str) -> Self {
|
|
Self {
|
|
api_url: Mutex::new("https://api.spacedrive.com".to_string()),
|
|
client_id: client_id.to_string(),
|
|
}
|
|
}
|
|
}
|