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

Commit

Permalink
Added hardcode for pdf redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
fishnal committed Apr 29, 2020
1 parent 5602a5a commit 2109de6
Showing 1 changed file with 4 additions and 0 deletions.
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 2109de6

Please sign in to comment.