Skip to content

Commit

Permalink
added express to server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatthieu committed Dec 14, 2011
1 parent 15d1cf6 commit 456c667
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions server.js
@@ -1,5 +1,4 @@
var http = require('http'); var express = require("express"),
http.createServer(function (req, res) { app = express.createServer();
res.writeHead(200, {'Content-Type': 'text/plain'}); app.use(express.static(__dirname));
res.end('Hello World\nApp (newdesign) is running..'); app.listen(12952);
}).listen(12952);

0 comments on commit 456c667

Please sign in to comment.