Skip to content

Commit

Permalink
Change /docs to go to https://docs.cb-net.co.uk (will make this an en…
Browse files Browse the repository at this point in the history
…v setting in future).
  • Loading branch information
coldfire84 committed Jan 25, 2020
1 parent b8eba79 commit a0e8c02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ router.get('/', defaultLimiter, async (req, res) => {
router.get('/docs', defaultLimiter, async (req, res) => {
sendPageView(req.path, 'Documentation', req.ip, req.headers['user-agent']);
//outputSessionID(req, "/docs");
res.render('pages/docs', {user: req.user, docs: true, brand: process.env.BRAND, title: "Documentation | " + process.env.BRAND});
//res.render('pages/docs', {user: req.user, docs: true, brand: process.env.BRAND, title: "Documentation | " + process.env.BRAND});
res.redirect('https://docs.cb-net.co.uk');
});
///////////////////////////////////////////////////////////////////////////
// About
Expand Down

0 comments on commit a0e8c02

Please sign in to comment.