diff --git a/server/index.js b/server/index.js index 9a8f7ce5..a309845b 100644 --- a/server/index.js +++ b/server/index.js @@ -56,7 +56,7 @@ export default class Server { handleRequest (req, res, parsedUrl) { // Parse url if parsedUrl not provided - if (!parsedUrl) { + if (!parsedUrl || typeof parsedUrl !== 'object') { parsedUrl = parseUrl(req.url, true) }