From 18be0ad80baa7e729322695a29c0b15b10e12887 Mon Sep 17 00:00:00 2001
From: Eugene Burkov <e.burkov@adguard.com>
Date: Mon, 11 Jan 2021 15:06:54 +0300
Subject: [PATCH] Pull request: beta client on development channel

Merge in DNS/adguard-home from beta-client-channels to master

Squashed commit of the following:

commit c65611c1743aedd14779c95ed587330aff611b1d
Author: Eugene Burkov <e.burkov@adguard.com>
Date:   Mon Jan 11 14:09:21 2021 +0300

    home: activate beta client on development channel by default
---
 internal/home/config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/home/config.go b/internal/home/config.go
index 92b2326c..840678d4 100644
--- a/internal/home/config.go
+++ b/internal/home/config.go
@@ -177,7 +177,7 @@ func initConfig() {
 	config.DHCP.Conf4.ICMPTimeout = 1000
 	config.DHCP.Conf6.LeaseDuration = 86400
 
-	if updateChannel == "none" || updateChannel == "edge" {
+	if updateChannel == "none" || updateChannel == "edge" || updateChannel == "development" {
 		config.BetaBindPort = 3001
 	}
 }