From 070001872ac06d13859e7bcbc25698551398939d Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Fri, 5 Apr 2013 18:18:24 +0200 Subject: [PATCH] slightly changed the path string in the user's profile route --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.54.0