We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createServer((req, res) => { const { pathname, query } = parse(req.url, true) if (pathname === '/a') { app.render(req, res, '/b', query) } else if (pathname === '/b') { app.render(req, res, '/a', query) } else { handle(req, res) } })
I think handle should admit query as a param to avoid double-parsing?
handle
query
The text was updated successfully, but these errors were encountered:
timneutkens
No branches or pull requests
I think
handle
should admitquery
as a param to avoid double-parsing?The text was updated successfully, but these errors were encountered: