compression = require 'compression'
app = module.exports.app = exports.app = express()
app.use(compression())
app.use express.static( path.join(__dirname, '../../public' ) )
showIndexContent = ( req, res ) ->
# res.setHeader('Content-Type', 'text/event-stream')
# res.setHeader('Cache-Control', 'no-cache')
res.sendFile '/',
root: path.join(__dirname, '../../public')
app.get '/', showIndexContent