Skip to content

Commit

Permalink
Enable debug loglevel in httpsProxyMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 23, 2024
1 parent c93ef1f commit 133aff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timgen/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const httpProxyMiddleware = createProxyMiddleware({
onProxyRes: onProxyRes,
changeOrigin: true,
secure: false,
// logLevel: "debug",
logLevel: "debug",
});

const httpsProxyMiddleware = createProxyMiddleware({
Expand All @@ -59,7 +59,7 @@ const httpsProxyMiddleware = createProxyMiddleware({
onProxyRes: onProxyRes,
changeOrigin: true,
secure: false,
// logLevel: "debug",
logLevel: "debug",
});

app.use("/http_proxy", httpProxyMiddleware);
Expand Down

0 comments on commit 133aff0

Please sign in to comment.