Skip to content

Commit

Permalink
fix(indiekit): enable debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Jan 5, 2023
1 parent f7fc748 commit 7f9179a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/indiekit/lib/middleware/logging.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Debug from "debug";
import makeDebug from "debug";

const debug = new Debug("indiekit:request");
const debug = makeDebug("indiekit:request");
debug.enabled = true;

export const logging = (request, response, next) => {
debug("url", request.originalUrl);
Expand Down

0 comments on commit 7f9179a

Please sign in to comment.