intercept /news with a notice
This commit is contained in:
@ -43,6 +43,7 @@ module.exports = function(app) {
|
||||
router.get('/how-nonprofit-projects-work', howNonprofitProjectsWork);
|
||||
router.get('/code-of-conduct', codeOfConduct);
|
||||
router.get('/academic-honesty', academicHonesty);
|
||||
router.get('/news', news);
|
||||
|
||||
router.get(
|
||||
'/the-fastest-web-page-on-the-internet',
|
||||
@ -284,6 +285,12 @@ module.exports = function(app) {
|
||||
});
|
||||
}
|
||||
|
||||
function news(req, res) {
|
||||
res.render('resources/camper-news-deprecated', {
|
||||
title: 'Camper News'
|
||||
});
|
||||
}
|
||||
|
||||
function twitch(req, res) {
|
||||
res.redirect('https://twitch.tv/freecodecamp');
|
||||
}
|
||||
|
Reference in New Issue
Block a user