[Modify] Rename it

This commit is contained in:
sta
2017-07-01 15:32:24 +09:00
parent a854efa0c4
commit ebe1fa15d9
3 changed files with 81 additions and 80 deletions

View File

@@ -2,7 +2,7 @@
<configuration>
<appSettings>
<add key="CertFilePassword" value="password"/>
<add key="RootPath" value="../../Public"/>
<add key="DocumentRootPath" value="../../Public"/>
<add key="ServerCertFile" value="/path/to/cert.pfx"/>
</appSettings>
</configuration>

View File

@@ -82,7 +82,7 @@ namespace Example3
//httpsv.ReuseAddress = true;
// Set the document root path.
httpsv.RootPath = ConfigurationManager.AppSettings["RootPath"];
httpsv.DocumentRootPath = ConfigurationManager.AppSettings["DocumentRootPath"];
// Set the HTTP GET request event.
httpsv.OnGet += (sender, e) => {