`file()` middleware path makes things difficult
Closed this issue · 0 comments
avoidwork commented
const lpath = path.join(req.server.config.root, "www", req.parsed.pathname.replace(regex.dir, ""));
the www
shouldn't be hard coded.
Closed this issue · 0 comments
const lpath = path.join(req.server.config.root, "www", req.parsed.pathname.replace(regex.dir, ""));
the www
shouldn't be hard coded.