(hostname, filePath = '')
| 62 | |
| 63 | // Returns the file path corresponding to the relative file path on the pod |
| 64 | resolveFilePath (hostname, filePath = '') { |
| 65 | return !this._includeHost |
| 66 | ? `${this._rootPath}${filePath}` |
| 67 | : `${this._rootPath}/${hostname}${filePath}` |
| 68 | } |
| 69 | |
| 70 | // Maps a given server file to a URL |
| 71 | async mapFileToUrl ({ path, hostname }) { |
no outgoing calls
no test coverage detected