Permalink
Browse files

rm staticServer, html5app is started with static command

  • Loading branch information...
1 parent f37d9ba commit f11943d8e066acb384e614e8ca664247e0142f00 Lichun Zhan committed Jan 4, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −12 tests/base/staticServer.js
View
12 tests/base/staticServer.js
@@ -1,12 +0,0 @@
-var staticServer = require('node-static').Server;
-
-//
-// Create a node-static server instance to serve the current folder
-//
-var file = new staticServer('.');
-
-require('http').createServer(function (request, response) {
- request.addListener('end', function () {
- file.serve(request, response);
- });
-}).listen(process.argv[2]);

0 comments on commit f11943d

Please sign in to comment.