tsk-17: Add ICARUS_AUTH_BASE_API_URL env key (#18)

Closes #17

Reviewed-on: #18
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-08-14 22:58:45 +00:00
committed by phoenix
parent 3cd42dab6b
commit d84a8144ae
7 changed files with 18 additions and 2 deletions
+6
View File
@@ -27,3 +27,9 @@ pub async fn get_icarus_base_api_url() -> String {
dotenvy::dotenv().ok();
std::env::var(crate::keys::ICARUS_BASE_API_URL).expect(crate::keys::error::ICARUS_BASE_API_URL)
}
pub async fn get_icarus_auth_base_api_url() -> String {
dotenvy::dotenv().ok();
std::env::var(crate::keys::ICARUS_AUTH_BASE_API_URL)
.expect(crate::keys::error::ICARUS_AUTH_BASE_API_URL)
}