v1.3.23: embed SUPABASE_ANON_KEY e SERVICE_KEY no binario (fallback) - resolve 401 em qualquer PC
This commit is contained in:
@@ -36,10 +36,10 @@ fn load_config() -> (String, String) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Fallback: tenta variáveis de ambiente
|
// Fallback 3: chaves embedadas no binário (funciona em qualquer PC sem config)
|
||||||
(
|
(
|
||||||
std::env::var("SUPABASE_ANON_KEY").unwrap_or_default(),
|
"sb_publishable_NCUGwstslOvVt5JtGxKB9A_p-BERG57".to_string(),
|
||||||
std::env::var("SUPABASE_SERVICE_KEY").unwrap_or_default(),
|
"sb_secret_T6eHIKJDGaH53HMTG6UUKa_6ou6KfEW".to_string(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user