Update chat link, fix 404 for ziplines and basejumps

This commit is contained in:
terakilobyte
2015-05-26 09:57:40 -04:00
parent 081a76d0d6
commit 3078fa8104
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ exports.returnCurrentChallenge = function(req, res, next) {
exports.returnIndividualChallenge = function(req, res, next) {
var dashedName = req.params.challengeName;
var challengeName = /^(bonfire|waypoint)/.test(dashedName) ? dashedName
var challengeName = /^(bonfire|waypoint|zipline|basejump)/.test(dashedName) ? dashedName
.replace(/\-/g, ' ')
.split(' ')
.slice(1)