Created
October 13, 2012 14:34
-
-
Save juliangruber/3884839 to your computer and use it in GitHub Desktop.
contre
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Contre = require('contre'); | |
var http = require('http'); | |
var contre = Contre({ | |
from : __dirname + '/repos', | |
to : __dirname + '/static' | |
}); | |
var contre = Contre({ | |
repos : __dirname + '/repos', | |
releases : __dirname + '/static' | |
}); | |
http.createServer(contre.handle()).listen(3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment