feat(challenge-redirect): Make '/challenge' and '/map' redirect to learn (#17144)

* feat(challenge-redirect): Make '/challenge' and '/map' redirect to learn

* fix(linting): Generate pathMigrationMap on 'prelint-js'

* fix(script): fix "only once" script

* fix(lock): Fix lock file
This commit is contained in:
Stuart Taylor
2018-05-14 08:34:51 +01:00
committed by mrugesh mohapatra
parent 058ec5d247
commit 5eb90ed8c8
7 changed files with 108 additions and 16 deletions

View File

@@ -17,9 +17,6 @@ const isDev = process.env.NODE_ENV !== 'production';
// add routes here as they slowly get reactified
// remove their individual controllers
const routes = [
'/challenges',
'/challenges/*',
'/map',
'/settings',
'/settings/*',
'/portfolio/:username'