From: Luigi Pinca Date: Fri, 5 Apr 2013 16:18:24 +0000 (+0200) Subject: slightly changed the path string in the user's profile route X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=0700018;p=binbsis50.git slightly changed the path string in the user's profile route --- diff --git a/app.js b/app.js index 2ed4a5a..360da85 100644 --- a/app.js +++ b/app.js @@ -46,7 +46,7 @@ app.get('/sliceleaderboard', user.sliceLeaderboard); app.get('/signup', site.validationErrors, site.signup); app.post('/signup', user.validateSignUp, user.userExists, user.emailExists, user.createAccount); app.get('/:room', site.room); -app.get('/user/*', user.profile); +app.get('/user/:username', user.profile); // HTTP server object var server = http.createServer(app);