Permalink
Browse files

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

  • Loading branch information...
1 parent 48a7c11 commit 291b7f2887d6411b49f4a1243118d01c88dacfaf @blakmatrix blakmatrix committed Jul 7, 2012
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 = {

0 comments on commit 291b7f2

Please sign in to comment.