Skip to content

Commit

Permalink
fix(fileserver):wrong url href of displayed files
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqingc committed May 21, 2019
1 parent 47134db commit 59f6c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/file_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async function serveDir(
listEntry.push(
createDirEntryDisplay(
info.name,
fn,
fn.replace(currentDir, ''),
info.isFile() ? info.len : null,
mode,
info.isDirectory()
Expand Down

0 comments on commit 59f6c41

Please sign in to comment.