mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-25 22:14:29 -05:00
Fixed a server error caused by the recent removal of trailing slashes on urls I think.
This commit is contained in:
parent
9893f39ad1
commit
8fb26ce8fb
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ module.exports.setup = (app) ->
|
||||||
res.send msg + '<p><a href="/account/settings">Account settings</a></p>'
|
res.send msg + '<p><a href="/account/settings">Account settings</a></p>'
|
||||||
res.end()
|
res.end()
|
||||||
|
|
||||||
app.get '/auth/name/*', (req, res) ->
|
app.get '/auth/name/?*', (req, res) ->
|
||||||
parts = req.path.split '/'
|
parts = req.path.split '/'
|
||||||
console.log parts
|
console.log parts
|
||||||
originalName = parts[3]
|
originalName = parts[3]
|
||||||
|
|
Loading…
Reference in a new issue