summaryrefslogtreecommitdiff
path: root/http/file_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'http/file_server.ts')
-rwxr-xr-xhttp/file_server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/file_server.ts b/http/file_server.ts
index 21482e747..5ef891aa8 100755
--- a/http/file_server.ts
+++ b/http/file_server.ts
@@ -162,7 +162,7 @@ async function serveDir(
listEntry.push(
createDirEntryDisplay(
info.name,
- fn,
+ fn.replace(currentDir, ""),
info.isFile() ? info.len : null,
mode,
info.isDirectory()