Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] path.exists was moved to fs.exists

  • Loading branch information...
commit 291b7f2887d6411b49f4a1243118d01c88dacfaf 1 parent 48a7c11
@blakmatrix blakmatrix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/speed_server
View
2  examples/speed_server
@@ -124,7 +124,7 @@ function handle_file(file_name, in_request, in_response) {
local_name += "index.html";
}
- path.exists(local_name, function (exists) {
+ fs.exists(local_name, function (exists) {
if (exists) {
file = fs.readFile(local_name, function (err, data) {
var out_headers = {
Please sign in to comment.
Something went wrong with that request. Please try again.