Skip to content

Commit

Permalink
very nearly done- css deLESSed
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidkahl committed Mar 12, 2012
1 parent 1303d54 commit a18fb20
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ app.configure () ->
app.use exp.bodyParser()
app.use exp.cookieParser()
app.use exp.session {secret: 'nawollenwirdochmalsehn', store: new sessionDB({host: config.sessionDBHost,name: config.sessionDBName, auth: {username: config.sessionDBUser, password: config.sessionDBPass}, reapInterval: 600000, compactInterval: 300000})}
app.use exp.compiler { src: __dirname + '/public', dest: __dirname + '/public', enable: ['less'] }
# app.use exp.compiler { src: __dirname + '/public', dest: __dirname + '/public', enable: ['less'] }
app.use exp.static __dirname + '/public'
app.use auth.middleware()

Expand All @@ -44,8 +44,6 @@ app.get '/', (req, res) ->
position= Math.floor(Math.random() * docs.length)
threeDocs.push docs[position]
docs.splice position, 1

console.log threeDocs
res.render 'index', {
locals: {
title: 'Spark.'
Expand Down

0 comments on commit a18fb20

Please sign in to comment.