(url)
| 1 | import { bracketIPv6 } from './parse-target.js'; |
| 2 | |
| 3 | const normalizeUrl = (url) => { |
| 4 | const withScheme = url.startsWith('http') ? url : `https://${url}`; |
| 5 | return bracketIPv6(withScheme); |
| 6 | }; |
| 7 | |
| 8 | const TIMEOUT = parseInt(process.env.PUBLIC_API_TIMEOUT_LIMIT || '40000', 10); |
| 9 |
no test coverage detected