diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-01-30 17:56:25 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-01-30 17:56:25 +0100 |
commit | 344504782ac628b15229cafada34a9f32d595624 (patch) | |
tree | 532293fef971164b21e3227955ff532668f850a1 /routes | |
parent | 29ea424009be3bd8561e74587b651c1c44bf2f7e (diff) | |
parent | 25fbba2084a23fb62ab0e7fdf2dd47eadc28a967 (diff) |
Merge branch 'update-url' into beta
Diffstat (limited to 'routes')
-rw-r--r-- | routes/index.js | 2 |
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') |