(input: string)
| 10 | } |
| 11 | |
| 12 | static removeHttpHttps(input: string) { |
| 13 | input = input.trim() |
| 14 | input = input.replace(/^(?:http?:\/\/)?/i, '') |
| 15 | input = input.replace(/^(?:https?:\/\/)?/i, '') |
| 16 | return input |
| 17 | } |
| 18 | |
| 19 | static generateRandomString(byteLength?: number) { |
| 20 | if (!byteLength) { |
no outgoing calls
no test coverage detected