(req: express.Request)
| 91 | * Return true if proxy is enabled. |
| 92 | */ |
| 93 | export const proxyEnabled = (req: express.Request): boolean => { |
| 94 | return !req.args["disable-proxy"] |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Throw an error if not authorized. Call `next` if provided. |
no outgoing calls
no test coverage detected