[Modify] Polish it

This commit is contained in:
sta 2021-07-25 21:25:39 +09:00
parent 8c8be0c219
commit 34c2cd55c7

View File

@ -127,6 +127,7 @@ namespace WebSocketSharp.Server
private string createFilePath (string childPath)
{
childPath = childPath.TrimStart ('/', '\\');
return new StringBuilder (_docRootPath, 32)
.AppendFormat ("/{0}", childPath)
.ToString ()