Skip to content

Commit

Permalink
feat: add icons for directory viewer (#2441)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlguenego authored Mar 2, 2020
1 parent 2da4a1e commit e953d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class Server {
return next();
}

serveIndex(item)(req, res, next);
serveIndex(item, { icons: true })(req, res, next);
});
});
} else if (
Expand All @@ -414,7 +414,7 @@ class Server {
return next();
}

serveIndex(contentBase)(req, res, next);
serveIndex(contentBase, { icons: true })(req, res, next);
});
}
}
Expand Down

0 comments on commit e953d01

Please sign in to comment.