Bläddra i källkod

refactor: Change default stun server

Bruce Wayne 2 år sedan
förälder
incheckning
a1af27bcf1
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      NatTypeTester.Models/Config.cs
  2. 1 1
      NatTypeTester.ViewModels/MainWindowViewModel.cs

+ 1 - 1
NatTypeTester.Models/Config.cs

@@ -8,7 +8,7 @@ namespace NatTypeTester.Models;
 [UsedImplicitly]
 public record Config : ReactiveRecord, ISingletonDependency
 {
-	private string _stunServer = @"stunserver.stunprotocol.org";
+	private string _stunServer = @"stun.hot-chilli.net";
 	public string StunServer
 	{
 		get => _stunServer;

+ 1 - 1
NatTypeTester.ViewModels/MainWindowViewModel.cs

@@ -21,8 +21,8 @@ public class MainWindowViewModel : ViewModelBase, IScreen
 
 	private readonly IEnumerable<string> _defaultServers = new HashSet<string>
 	{
-		@"stunserver.stunprotocol.org",
 		@"stun.hot-chilli.net",
+		@"stunserver.stunprotocol.org",
 		@"stun.syncthing.net",
 		@"stun.qq.com",
 		@"stun.miwifi.com"