Skip to content
Browse files

Use sample directory for messages

  • Loading branch information...
1 parent b32660f commit 1a83028111fe3fa7a454e6b1d5d7decd3ce04f41 @clee committed Feb 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.coffee
View
4 app.coffee
@@ -27,7 +27,7 @@ app.get '/', (req, res) ->
res.redirect '/index.html'
app.get '/messages', (req, res) ->
- md = new Maildir '/home/clee/tmp/Maildir'
+ md = new Maildir '/home/clee/sample'
res.header 'Content-Type', 'text/event-stream'
res.header 'Cache-Control', 'no-cache'
@@ -44,7 +44,7 @@ app.get '/messages', (req, res) ->
md.monitor()
app.get '/messages/:id', (req, res) ->
- md = new Maildir '/home/clee/tmp/Maildir'
+ md = new Maildir '/home/clee/sample'
id = req.params.id
md.loadMessage id, (message) ->
res.json message

0 comments on commit 1a83028

Please sign in to comment.
Something went wrong with that request. Please try again.