feat(app): configurable Modrinth endpoints through .env files (#4015)

This commit is contained in:
Alejandro González
2025-07-22 00:55:57 +02:00
committed by GitHub
parent 87de47fe5e
commit d4516d3527
15 changed files with 95 additions and 49 deletions

View File

@@ -1,7 +1,7 @@
use crate::state::ModrinthCredentials;
#[tracing::instrument]
pub fn authenticate_begin_flow() -> String {
pub fn authenticate_begin_flow() -> &'static str {
crate::state::get_login_url()
}