Fixed a server error caused by the recent removal of trailing slashes on urls I think.

This commit is contained in:
Scott Erickson 2014-07-14 10:11:49 -07:00
parent 9893f39ad1
commit 8fb26ce8fb

View file

@ -157,7 +157,7 @@ module.exports.setup = (app) ->
res.send msg + '<p><a href="/account/settings">Account settings</a></p>'
res.end()
app.get '/auth/name/*', (req, res) ->
app.get '/auth/name/?*', (req, res) ->
parts = req.path.split '/'
console.log parts
originalName = parts[3]