Skip to content

Commit

Permalink
fix: remove logging due to modules cannot be found
Browse files Browse the repository at this point in the history
  • Loading branch information
KC900201 committed Jan 7, 2025
1 parent cae213e commit d0eb861
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/pages/api/json-files.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { logger } from "@it-astro:logger"

export async function GET() {
try {
// Dynamically import fs and path
Expand All @@ -19,9 +17,6 @@ export async function GET() {
})

const responseBody = JSON.stringify(titles)
// Testing logger
// Todo: configure log file location
logger.info("test")
return new Response(responseBody, {
headers: {
"Content-Type": "application/json"
Expand Down

0 comments on commit d0eb861

Please sign in to comment.