We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9145c84 commit 6e35c7dCopy full SHA for 6e35c7d
src/http-handler.ts
@@ -45,6 +45,7 @@ function createHttpRequestHandler(options: {
45
// don't accept proxying here (lots of attempted abuse load).
46
const url = new URL(req.url!);
47
if (!url.hostname.endsWith(options.rootDomain)) {
48
+ console.log("Rejecting attempted proxy request to", req.url);
49
res.writeHead(400, { connection: 'close' });
50
res.end();
51
return;
0 commit comments