Skip to content

Commit

Permalink
Remove debug output
Browse files Browse the repository at this point in the history
PR-URL: #341
  • Loading branch information
tshemsedinov committed Jul 27, 2022
1 parent 6ecea04 commit 2573c4b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const serveStatic = (channel) => {
const [urlPath, params] = metautil.split(url, '?');
const filePath = urlPath.endsWith('/') ? index(urlPath) : urlPath;
const fileExt = path.extname(filePath).substring(1);
console.log({ url, urlPath, params, filePath, fileExt });
const data = application.getStaticFile(filePath);
if (data) {
channel.write(data, 200, fileExt);
Expand Down

0 comments on commit 2573c4b

Please sign in to comment.