You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Personally I like just logging in production, since logging every request in development can be noisy. So I would move the morgan() call right below this line:
In the
node-custom-server
template, this line is too late:react-router-templates/node-custom-server/server.js
Line 44 in c7adc61
This means that morgan won't run at all.
Personally I like just logging in production, since logging every request in development can be noisy. So I would move the
morgan()
call right below this line:react-router-templates/node-custom-server/server.js
Line 39 in c7adc61
It could alternatively be moved above the
"/assets"
handler if you wanted to log requests to static assets as well.The text was updated successfully, but these errors were encountered: