From d9bb5e6b1ff17bccd8e3145a91f6c0e10a0267a7 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 4 Feb 2025 22:46:24 +0200 Subject: [PATCH] Revert old default values --- default/config.yaml | 4 ++-- server.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/default/config.yaml b/default/config.yaml index 0945cfa2f..94673ca11 100644 --- a/default/config.yaml +++ b/default/config.yaml @@ -10,8 +10,8 @@ listen: false # - Use option "auto" to automatically detect support # - Use true or false (no qoutes) to enable or disable each protocol protocol: - ipv4: auto - ipv6: auto + ipv4: true + ipv6: false # Prefers IPv6 for DNS. Enable this on ISPs that don't have issues with IPv6 dnsPreferIPv6: false # The hostname that autorun opens. diff --git a/server.js b/server.js index ae8a6bb66..1aa367915 100644 --- a/server.js +++ b/server.js @@ -137,8 +137,8 @@ const DEFAULT_CSRF_DISABLED = false; const DEFAULT_BASIC_AUTH = false; const DEFAULT_PER_USER_BASIC_AUTH = false; -const DEFAULT_ENABLE_IPV6 = 'auto'; -const DEFAULT_ENABLE_IPV4 = 'auto'; +const DEFAULT_ENABLE_IPV6 = false; +const DEFAULT_ENABLE_IPV4 = true; const DEFAULT_PREFER_IPV6 = false;