   else
     render = (filename) ->
       extension = "." + path.basename(filename).split(".").slice(1).join(".")
-      base = path.basename(filename, extension)
+      base = path.join path.dirname(filename), path.basename(filename, extension)
       type = mime.lookup(filename) or "text/plain"
       
       for name, compiler of compilers when filename.match(compiler.match)

url = require("url")
request = require("request")
path = require("path")




  prefix


app.use ga("UA-28928507-4", safe: false)
app.use require("./middleware/cors").middleware()
app.use express.bodyParser()

