mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-18 05:02:23 -06:00
server: add logs for when requests are blacklisted
This commit is contained in:
@@ -68,6 +68,11 @@ module.exports = {
|
||||
## and set a custom header
|
||||
res.set("x-cypress-matched-blacklisted-host", matched)
|
||||
|
||||
debug("blacklisting request %o", {
|
||||
url: req.proxiedUrl
|
||||
matched: matched
|
||||
})
|
||||
|
||||
return res.status(503).end()
|
||||
|
||||
thr = through (d) -> @queue(d)
|
||||
|
||||
Reference in New Issue
Block a user