next-server
Advanced tools
Comparing version 7.0.2-canary.8 to 7.0.2-canary.9
@@ -422,3 +422,3 @@ "use strict"; | ||
if (this.nextConfig.poweredByHeader) { | ||
res.setHeader('X-Powered-By', "Next.js 7.0.2-canary.8"); | ||
res.setHeader('X-Powered-By', "Next.js 7.0.2-canary.9"); | ||
} | ||
@@ -425,0 +425,0 @@ |
@@ -246,3 +246,3 @@ "use strict"; | ||
throw new Error("The default export is not a React Component in page: \"".concat(pathname, "\"")); | ||
throw new Error("The default export is not a React Component in page: \"".concat(page, "\"")); | ||
@@ -257,7 +257,7 @@ case 19: | ||
res: res, | ||
pathname: pathname, | ||
pathname: page, | ||
query: query, | ||
asPath: asPath | ||
}; | ||
router = new _router.Router(pathname, query, asPath); | ||
router = new _router.Router(page, query, asPath); | ||
_context3.next = 26; | ||
@@ -376,4 +376,2 @@ return (0, _utils.loadGetInitialProps)(App, { | ||
// The rendered page | ||
pathname: pathname, | ||
// The requested path | ||
query: query, | ||
@@ -380,0 +378,0 @@ // querystring parsed / passed by the user |
{ | ||
"name": "next-server", | ||
"version": "7.0.2-canary.8", | ||
"version": "7.0.2-canary.9", | ||
"main": "./index.js", | ||
@@ -54,8 +54,7 @@ "files": [ | ||
"@babel/preset-react": "7.0.0", | ||
"@babel/runtime": "7.1.2", | ||
"@babel/runtime-corejs2": "7.1.2", | ||
"@taskr/clear": "1.1.0", | ||
"@taskr/watch": "1.1.0" | ||
"@taskr/watch": "1.1.0", | ||
"taskr": "1.1.0" | ||
}, | ||
"gitHead": "ee696683ca95fc441a80edb58422a490dd2fd5a6" | ||
"gitHead": "384fbdc3aa3b1817dad414306bea74e3a59fcb6f" | ||
} |
10
137716
3456