Files
spacedrive/core/src/env.rs
2024-07-23 13:41:30 +03:00

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(),
}
}
}