Skip to content

Commit

Permalink
fix: proxy without log
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Dec 9, 2024
1 parent 3879316 commit cb73674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Request proxy to rewrite URLs and prevent CORS errors
*/
const logFn = function (req, res) {
console.log(new Date().toISOString() + `: bypassing ${req.method} ${req.url} `)
//console.log(new Date().toISOString() + `: bypassing ${req.method} ${req.url} `)
}
const onProxyRes = function (proxyRes, req, res) {
logFn(req, res)
Expand Down

0 comments on commit cb73674

Please sign in to comment.