Skip to content

Commit 7bf97d0

Browse files
committed
Fixed Address (DNS) enabled by default
1 parent 7456da5 commit 7bf97d0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

backend/api_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ def _get_dns_settings(state):
17281728
"""Lee los settings del proxy DNS desde la config de la app."""
17291729
try:
17301730
app = state.config_manager.config.get("app_settings", {})
1731-
enabled = app.get("dns_proxy_enabled", False)
1731+
enabled = app.get("dns_proxy_enabled", True)
17321732
url = app.get("dns_proxy_url", "")
17331733
# Siempre usar la URL por defecto
17341734
if not url:

electron-app/src/components/AppSettings.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default function AppSettings({ isOpen, onClose }) {
2626
autoStart: false,
2727
minimizeToTray: true,
2828
checkUpdates: true,
29+
dns_proxy_enabled: true,
2930
});
3031
const [activeSection, setActiveSection] = useState('general');
3132
const [saving, setSaving] = useState(false);
@@ -243,7 +244,7 @@ export default function AppSettings({ isOpen, onClose }) {
243244
<ToggleSetting
244245
label="Enable Fixed Address"
245246
description="Auto-update DNS when tunnel starts. Your server gets a permanent domain like survival.play.ariser.com"
246-
value={settings.dns_proxy_enabled || false}
247+
value={settings.dns_proxy_enabled}
247248
onChange={(v) => updateSetting('dns_proxy_enabled', v)}
248249
/>
249250

0 commit comments

Comments
 (0)