Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
make logger always enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
akisblack committed Dec 17, 2022
1 parent 55dbf03 commit b2ff479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
let isProd = process.env["NODE_ENV"] === "production" ? true : false;

const fastify: FastifyInstance = Fastify({
logger: isProd ? false : true
logger: true
});

fastify.register(formBodyPlugin);
Expand Down

0 comments on commit b2ff479

Please sign in to comment.