mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +00:00
fix(desktop): attempt to improve connection reliability
This commit is contained in:
parent
16a8f5a9c3
commit
224b2c37d7
2 changed files with 43 additions and 16 deletions
|
|
@ -52,6 +52,8 @@ fn configure_display_backend() -> Option<String> {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
unsafe { std::env::set_var("NO_PROXY", "no_proxy=127.0.0.1,localhost,::1") };
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
if let Some(backend_note) = configure_display_backend() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue