mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add comment in interceptorBuilder.js to clarify which api is for setup, and which api is used by the proxy.
This commit is contained in:
parent
9a1092199d
commit
5834229427
1 changed files with 2 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ function createRequestContext(targetUrl, eventEmitter) {
|
||||||
return modifiedBody;
|
return modifiedBody;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// These functions are invoked in the proxy, allowing to apply the configured modifications
|
||||||
return {
|
return {
|
||||||
blockResponse,
|
blockResponse,
|
||||||
modifyRequestHeaders: modifyRequestHeaders,
|
modifyRequestHeaders: modifyRequestHeaders,
|
||||||
|
|
@ -123,6 +124,7 @@ function createRequestContext(targetUrl, eventEmitter) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// These functions are used to setup the modifications
|
||||||
return {
|
return {
|
||||||
targetUrl,
|
targetUrl,
|
||||||
blockMalware: blockMalwareSetup,
|
blockMalware: blockMalwareSetup,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue