[Modify] Polish it

This commit is contained in:
sta 2021-07-22 19:38:23 +09:00
parent 03fd189483
commit bdd1bbde71

View File

@ -1450,6 +1450,7 @@ namespace WebSocketSharp.Server
throw new ArgumentException ("It contains '..'.", "path");
path = createFilePath (path);
return File.Exists (path) ? File.ReadAllBytes (path) : null;
}