Skip to content

Commit 7ff0edd

Browse files
committed
Remove resolveRelativeFilePath
1 parent adef27a commit 7ff0edd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/resource-mapper.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ class ResourceMapper {
6262
: `${this._rootPath}/${hostname}${filePath}`
6363
}
6464

65-
resolveRelativeFilePath (hostname, filePath = '') {
66-
return !this._includeHost ? filePath : `/${hostname}${filePath}`
67-
}
68-
6965
// Maps a given server file to a URL
7066
async mapFileToUrl ({ path, hostname }) {
7167
// Remove the root path if specified

0 commit comments

Comments
 (0)