[Modify] Polish it
This commit is contained in:
parent
8c8be0c219
commit
34c2cd55c7
@ -127,6 +127,7 @@ namespace WebSocketSharp.Server
|
|||||||
private string createFilePath (string childPath)
|
private string createFilePath (string childPath)
|
||||||
{
|
{
|
||||||
childPath = childPath.TrimStart ('/', '\\');
|
childPath = childPath.TrimStart ('/', '\\');
|
||||||
|
|
||||||
return new StringBuilder (_docRootPath, 32)
|
return new StringBuilder (_docRootPath, 32)
|
||||||
.AppendFormat ("/{0}", childPath)
|
.AppendFormat ("/{0}", childPath)
|
||||||
.ToString ()
|
.ToString ()
|
||||||
|
Loading…
Reference in New Issue
Block a user