feat(network): auto-detect system proxy and keep user overrides
This commit is contained in:
1 parent
a372a819f8
commit
050dbddca4
15 files changed
+1109
-43
No files matched your search
@@ -720,7 +720,9 @@ export function ConfigPanelPage() {
|
||||
setBusyAction('network');
|
||||
try {
|
||||
const result = await invoke<CoreConfigSettings>('save_network_endpoint_settings', {
|
||||
settings: { host, port, proxyUrl },
|
||||
settings: networkDraftDirtyRef.current.proxyUrl
|
||||
? { host, port, proxyUrl }
|
||||
: { host, port },
|
||||
});
|
||||
clearDraftDirty('host');
|
||||
clearDraftDirty('port');
|
||||
|
||||
Reference in new issue
Block a user