Skip to content

Commit

Permalink
log proxied url
Browse files Browse the repository at this point in the history
  • Loading branch information
CorySanin committed Aug 9, 2020
1 parent ab3ad66 commit 995d0a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ http.get('/proxy/:filename', function (req, res) {
try {
const proxurl = atob(req.query['url']);
if (config.deepproxy === true && notBlacklisted(proxurl)) {
console.log(`Proxy to ${proxurl}`);
proxy.web(req, res, {
target: proxurl
});
Expand Down

0 comments on commit 995d0a7

Please sign in to comment.