Skip to content

Commit

Permalink
don't bother logging static file 404
Browse files Browse the repository at this point in the history
  • Loading branch information
dankoster committed Oct 14, 2024
1 parent cdf4c56 commit e4fcfba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ app.use(async (context, next) => {
index: "index.html",
});
} catch (error) {
console.error("[STATIC]", context.request.method, context.request.url.toString(), error)
// console.error("[STATIC]", context.request.method, context.request.url.toString(), error)
context.response.status = 404
}
});

Expand Down

0 comments on commit e4fcfba

Please sign in to comment.