I originally had a route in node.js that stated this:
If the req.url === something or something or something or something, do this, else, do that.
The problem i
You're using it incorrectly.
category === 'stupid' || category === 'stupid2'
Your version is effectively...
(category === 'stupid') || 'stupid2'
...so because a non-empty string is "truthy", the RHS will always cause the || to pass.
||