Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Send back report ID, fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Nov 11, 2014
1 parent be538b4 commit 503de3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ app.post '/post', (req, res, next) ->
return next err if err?

console.log 'saved', filename
res.send path.basename(filename)
res.end()

root =
Expand Down
2 changes: 1 addition & 1 deletion views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ block content
each record in records
li
a(href='view/' + record.id)
= 'v' + record.version + ' ' + record.time.toString()
= 'v' + record.version + ' ' + record.time.toLocaleString()

0 comments on commit 503de3b

Please sign in to comment.