(remoteUrl: string, language: string)
| 23 | // POSSIBILITY OF SUCH DAMAGE. |
| 24 | |
| 25 | export function getRemoteId(remoteUrl: string, language: string): string { |
| 26 | const url: URL = new URL(remoteUrl); |
| 27 | return url.host.replace(/\./g, '_') + url.pathname.replace(/\//g, '_') + '_' + language; |
| 28 | } |
no outgoing calls
no test coverage detected