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 #18 from The-Diamondback-Lab/looking-back-2020-red…
Browse files Browse the repository at this point in the history
…irect
  • Loading branch information
Vishal Patel authored Apr 29, 2020
2 parents 2f398c0 + 2109de6 commit 74b8073
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/.next": true
}
}
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ app.prepare()
adsTxtPromise.then(data => res.send(data));
});

server.get('/looking-back-2020', (_, res) => {
res.redirect('https://wps3.dbknews.com/uploads/2020/04/Looking_Back_2020.pdf');
});

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

0 comments on commit 74b8073

Please sign in to comment.