(path: string)
| 21 | * @returns The converted file path |
| 22 | */ |
| 23 | export function convertToFilePath(path: string) { |
| 24 | return path.replace("http://", "http_").replace("https://", "https_").replaceAll("/", "_"); |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Converts an HTTP URL to a sc-domain URL format. |