Permalink
Browse files

fs

  • Loading branch information...
1 parent 12d7d59 commit 7b0116ab32ad43a17c4fe45800f406edd968c3cc Ubuntu committed Jul 11, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 web.js
View
2 web.js
@@ -1,8 +1,10 @@
var express = require('express');
+var fs = require('fs');
var app = express.createServer(express.logger());
app.get('/', function(request, response) {
+
var buf = fs.readFileSync("index.html");
response.send(buf);

0 comments on commit 7b0116a

Please sign in to comment.