@vercel/next 4.12.3 → 4.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14296,7 +14296,7 @@ async function serverBuild({
|
|
|
14296
14296
|
const isAllowedOrigin = origin && clientParamParsingOrigins ? clientParamParsingOrigins.some(
|
|
14297
14297
|
(allowedOrigin) => new RegExp(allowedOrigin).test(origin)
|
|
14298
14298
|
) : false;
|
|
14299
|
-
if (origin && !isAllowedOrigin)
|
|
14299
|
+
if (origin && !isAllowedOrigin || !pathname && !query)
|
|
14300
14300
|
continue;
|
|
14301
14301
|
rewrite.headers = {
|
|
14302
14302
|
...rewrite.headers,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/next",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/semver": "6.0.0",
|
|
31
31
|
"@types/text-table": "0.2.1",
|
|
32
32
|
"@types/webpack-sources": "3.2.0",
|
|
33
|
-
"@vercel/build-utils": "
|
|
33
|
+
"@vercel/build-utils": "12.0.0",
|
|
34
34
|
"@vercel/routing-utils": "5.1.1",
|
|
35
35
|
"async-sema": "3.0.1",
|
|
36
36
|
"buffer-crc32": "0.2.13",
|