Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #21 from The-Diamondback-Lab/redirect-coloring-boo…
Browse files Browse the repository at this point in the history
…k-2020
  • Loading branch information
Vishal Patel authored May 1, 2020
2 parents 74b8073 + ac3fda4 commit 2d05c6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ app.prepare()
res.redirect('https://wps3.dbknews.com/uploads/2020/04/Looking_Back_2020.pdf');
});

server.get('/coloring-book-2020', (_, res) => {
res.redirect('https://wps3.dbknews.com/uploads/2020/04/DBK-ColoringBook-2020.pdf');
});

server.get('*', (req, res) => {
return handle(req, res);
});
Expand Down

0 comments on commit 2d05c6f

Please sign in to comment.