Write music with code. Devalang is a domain-specific language (DSL) for sound designers and music hackers. Compose, automate, and control sound — in plain text.
#![cfg(feature ="cli")]usestd::env;/// Get the SSO URL from environment or use default
pubfnget_sso_url()-> String{env::var("DEVALANG_SSO_URL").unwrap_or_else(|_|"http://127.0.0.1:5174".to_string())}/// Get the API URL from environment or use default
pubfnget_api_url()-> String{env::var("DEVALANG_API_URL").unwrap_or_else(|_|"https://api.devalang.com".to_string())}/// Get the CDN URL from environment or use default
pubfnget_cdn_url()-> String{env::var("DEVALANG_CDN_URL").unwrap_or_else(|_|"https://cdn.devalang.com".to_string())}/// Get the Forge URL from environment or use default
pubfnget_forge_url()-> String{env::var("DEVALANG_FORGE_URL").unwrap_or_else(|_|"https://forge.devalang.com".to_string())}