Skip to content

Commit

Permalink
Load directory listing from different location
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed May 22, 2018
1 parent c9db42a commit a14cb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const mime = require('mime/lite');
const bytes = require('bytes');

// Other
const template = require('../views/directory.js');
const template = require('./directory.js');

const getHandlers = methods => {
const {stat, createReadStream, readdir} = fs;
Expand Down

0 comments on commit a14cb31

Please sign in to comment.