Douglas Wilson
Douglas Wilson
> but why wouldn't you consider an empty string to be valid? Because it's the contact of the `req.url` API from Node.js. The first line of an HTTP request is...
Nope :) We want the nested stuff to think they are not even nested, which really helps with reusable code. `serve-static` does similar `req.originalUrl` "mucking" that I can pictures the...
Hi @xytis, I'm not sure what you are reporting, I'm sorry. That line forces `strict` mode for a specific reason, and it is not meant to be changed. If you...
> .From documentation I would expect that my application will not serve "/path" endpoint, yet it gets forwarded to given router. Unfortunately the documentation in this case is simply wrong....
Hi @dbauszus-glx sorry you are having issues. Your description, to me, sounds like a more specific bug instance. Would you be willing to open a new issue about this and...
Hi @maxcbc we can certainly discuss adding it to the next major version :) ! I don't 100% have insight to why the default was chosen, as this was before...
Yea, like I said, we can certainly discuss adding it to the next major version :) ! I was trying to be open above to what would be involved, including...
@RomanovRoman here is how you do that in all versions of Express: ```js var express = require('express'); var app = express().set('env', process.env.NODE_ENV || 'production'); ```
Hi @RomanovRoman I'm sorry, I don't understand what you're asking. Can you phrase it differently?
Hi @RomanovRoman I think I understand what you are saying now.