Skip to content

Commit

Permalink
fix: remove unused param, updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh committed Jan 22, 2025
1 parent dcae830 commit b50aa7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/next/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ export type RoutesManifest = {
staticRoutes: Array<ManifestRoute>
dynamicRoutes: Array<ManifestRoute>
dataRoutes: Array<ManifestDataRoute>
prefetchSegmentDataRoutes: Array<PrefetchSegmentDataRoute>
i18n?: {
domains?: ReadonlyArray<{
http?: true
Expand Down Expand Up @@ -1268,7 +1267,6 @@ export default async function build(
dynamicRoutes,
staticRoutes,
dataRoutes: [],
prefetchSegmentDataRoutes: [],
i18n: config.i18n || undefined,
rsc: {
header: RSC_HEADER,
Expand Down
3 changes: 3 additions & 0 deletions test/integration/dynamic-routing/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,9 @@ function runTests({ dev }) {
varyHeader:
'RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch',
prefetchHeader: 'Next-Router-Prefetch',
prefetchSegmentDirSuffix: '.segments',
prefetchSegmentHeader: 'Next-Router-Segment-Prefetch',
prefetchSegmentSuffix: '.segment.rsc',
prefetchSuffix: '.prefetch.rsc',
suffix: '.rsc',
},
Expand Down

0 comments on commit b50aa7e

Please sign in to comment.