diff --git a/Example3/Program.cs b/Example3/Program.cs index ee1f4339..960a8e7b 100644 --- a/Example3/Program.cs +++ b/Example3/Program.cs @@ -20,8 +20,6 @@ namespace Example3 _httpsv.Log.Level = LogLevel.TRACE; #endif - _httpsv.RootPath = ConfigurationManager.AppSettings ["RootPath"]; - /* Secure Connection var cert = ConfigurationManager.AppSettings ["ServerCertFile"]; var password = ConfigurationManager.AppSettings ["CertFilePassword"]; @@ -41,6 +39,8 @@ namespace Example3 //_httpsv.KeepClean = false; + _httpsv.RootPath = ConfigurationManager.AppSettings ["RootPath"]; + _httpsv.OnGet += (sender, e) => onGet (e); _httpsv.AddWebSocketService ("/Echo");