(base: string, url: string)
| 340 | } |
| 341 | |
| 342 | private stripBaseUrl(base: string, url: string) { |
| 343 | if (url.startsWith(base)) { |
| 344 | return url.slice(base.length); |
| 345 | } |
| 346 | return undefined; |
| 347 | } |
| 348 | |
| 349 | private getServerBase() { |
| 350 | const {protocol, hostname, port} = this.platformLocation; |
no outgoing calls
no test coverage detected