Permalink
Browse files

added default vhost server

  • Loading branch information...
1 parent 560615d commit a0ae7698f3b94612ffe7ce6925bc5d189c843a53 @coolaj86 committed Oct 20, 2011
Showing with 14 additions and 0 deletions.
  1. +14 −0 server.vhost.default.js
View
@@ -0,0 +1,14 @@
+(function (){
+ "use strict";
+
+ var fs = require('fs')
+ , connect = require('connect')
+ , server
+ ;
+
+ server = connect.createServer(
+ connect.static(__dirname + '/' + 'public')
+ );
+
+ module.exports = server;
+}());

0 comments on commit a0ae769

Please sign in to comment.