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
probably due to the writeHead() in favicon, node doesnt really normalize any of this stuff internally so its a bit of a mess trying to provide this. and res.getHeader() throws in node after you write the header
The logger middleware in 1.5.2 throws the above error if it's included before middleware that writes a response.
Example:
Swapping the order of
logger()
andfavicon()
"fixes" it except nothing is logged for non-404 responses. Downgrading to 1.5.1 fixes everything.The text was updated successfully, but these errors were encountered: