Add Youtube videos to the map (#13592)

This commit is contained in:
Stuart Taylor
2017-05-04 00:03:59 +01:00
committed by Quincy Larson
parent 0d9db6ea35
commit 4a3fcba501
23 changed files with 711 additions and 14 deletions

View File

@@ -30,6 +30,9 @@ export default function reactSubRouter(app) {
(req, res) => res.redirect(`/challenges/${req.params.dashedName}`)
);
// youtube data not available on app load, send to the map
router.get(/youtube.*/, (req, res) => res.redirect('/map'));
// These routes are in production
routes.forEach((route) => {
router.get(route, serveReactApp);