소스 검색

refactor: Change default stun server

Bruce Wayne 2 년 전
부모
커밋
a1af27bcf1
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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"