Skip to content

Conversation

@DmytroKondrashov
Copy link

Added the check for /favicon request in " count" middleware. Without this check, a request to /favicon that is made by most browsers will also increment the counter. This will lead to unwanted behaviour when a reload of a page will increment the counter for 2 instead of 1.
image

@dougwilson dougwilson force-pushed the fix-bug-in-cookie-sessions-example branch from 37d2647 to 0e3ab6e Compare February 19, 2024 21:48
@dougwilson dougwilson merged commit 0e3ab6e into expressjs:master Feb 20, 2024
@UlisesGascon UlisesGascon mentioned this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants