Unverified Commit 1a53f450 authored by Ian Sutherland's avatar Ian Sutherland Committed by GitHub

Update custom server docs (#13172)

parent 1577ae5c
...@@ -39,9 +39,9 @@ app.prepare().then(() => { ...@@ -39,9 +39,9 @@ app.prepare().then(() => {
const { pathname, query } = parsedUrl const { pathname, query } = parsedUrl
if (pathname === '/a') { if (pathname === '/a') {
app.render(req, res, '/b', query)
} else if (pathname === '/b') {
app.render(req, res, '/a', query) app.render(req, res, '/a', query)
} else if (pathname === '/b') {
app.render(req, res, '/b', query)
} else { } else {
handle(req, res, parsedUrl) handle(req, res, parsedUrl)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment