aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-01-30 17:56:25 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-01-30 17:56:25 +0100
commit344504782ac628b15229cafada34a9f32d595624 (patch)
tree532293fef971164b21e3227955ff532668f850a1 /routes/index.js
parent29ea424009be3bd8561e74587b651c1c44bf2f7e (diff)
parent25fbba2084a23fb62ab0e7fdf2dd47eadc28a967 (diff)
Merge branch 'update-url' into beta
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js
index 1ab2ba3..d1f7765 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -5,7 +5,7 @@ const router = express.Router()
const users = require('../lib/getUserIndex')
/* GET home page. */
-router.get('/', function (req, res, next) {
+router.get(['/', '/s/*', '/t/*', '/r/*', '/c/*'], function (req, res, next) {
let flags = []
if (req.query.nfd != null) {
flags.push('NO_FEATURE_DETECT')