Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 358 Bytes
util = require "util"
path = require "path"
express = require "express"
{spawn} = require "child_process"
app = express.createServer()
app.configure ->
app.use express.static __dirname
app.set "views", __dirname
app.set "view options", layout: no
app.register ".html"
app.get "/", (req, res) -> res.render "index.html"
app.listen parseInt 80, 10
Something went wrong with that request. Please try again.