Unverified Commit 33a6dca7 authored by Wyatt Johnson's avatar Wyatt Johnson Committed by GitHub

Mask Flight Parameters from Middleware (#39939)



This masks flight parameters from middleware so it doesn't interfere with RSC or routing.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
Co-authored-by: 's avatarTim Neutkens <6324199+timneutkens@users.noreply.github.com>
parent a8e54e79
...@@ -202,28 +202,32 @@ export default function AppRouter({ ...@@ -202,28 +202,32 @@ export default function AppRouter({
} }
prefetched.add(href) prefetched.add(href)
const url = new URL(href, location.origin) const url = new URL(href, location.origin)
// TODO-APP: handle case where history.state is not the new router history entry
const r = fetchServerResponse(
url,
// initialTree is used when history.state.tree is missing because the history state is set in `useEffect` below, it being missing means this is the hydration case.
window.history.state?.tree || initialTree,
true
)
try { try {
r.readRoot() // TODO-APP: handle case where history.state is not the new router history entry
} catch (e) { const r = fetchServerResponse(
await e url,
const flightData = r.readRoot() // initialTree is used when history.state.tree is missing because the history state is set in `useEffect` below, it being missing means this is the hydration case.
// @ts-ignore startTransition exists window.history.state?.tree || initialTree,
React.startTransition(() => { true
dispatch({ )
type: ACTION_PREFETCH, try {
url, r.readRoot()
flightData, } catch (e) {
await e
const flightData = r.readRoot()
// @ts-ignore startTransition exists
React.startTransition(() => {
dispatch({
type: ACTION_PREFETCH,
url,
flightData,
})
}) })
}) }
} catch (err) {
console.error('PREFETCH ERROR', err)
} }
}, },
replace: (href, options = {}) => { replace: (href, options = {}) => {
......
...@@ -18,7 +18,7 @@ import { ...@@ -18,7 +18,7 @@ import {
} from './node-web-streams-helper' } from './node-web-streams-helper'
import { isDynamicRoute } from '../shared/lib/router/utils' import { isDynamicRoute } from '../shared/lib/router/utils'
import { ESCAPE_REGEX, htmlEscapeJsonString } from './htmlescape' import { ESCAPE_REGEX, htmlEscapeJsonString } from './htmlescape'
import { shouldUseReactRoot, stripInternalQueries } from './utils' import { shouldUseReactRoot } from './utils'
import { NextApiRequestCookies } from './api-utils' import { NextApiRequestCookies } from './api-utils'
import { matchSegment } from '../client/components/match-segments' import { matchSegment } from '../client/components/match-segments'
import { import {
...@@ -26,6 +26,7 @@ import { ...@@ -26,6 +26,7 @@ import {
FlightManifest, FlightManifest,
} from '../build/webpack/plugins/flight-manifest-plugin' } from '../build/webpack/plugins/flight-manifest-plugin'
import { FlushEffectsContext } from '../client/components/hooks-client' import { FlushEffectsContext } from '../client/components/hooks-client'
import { stripInternalQueries } from './internal-utils'
import type { ComponentsType } from '../build/webpack/loaders/next-app-loader' import type { ComponentsType } from '../build/webpack/loaders/next-app-loader'
// this needs to be required lazily so that `next-server` can set // this needs to be required lazily so that `next-server` can set
......
import type { NextParsedUrlQuery } from './request-meta'
const INTERNAL_QUERY_NAMES = [
'__nextFallback',
'__nextLocale',
'__nextDefaultLocale',
'__nextIsNotFound',
// RSC
'__flight__',
// Routing
'__flight_router_state_tree__',
'__flight_prefetch__',
] as const
const EXTENDED_INTERNAL_QUERY_NAMES = ['__nextDataReq'] as const
export function stripInternalQueries(query: NextParsedUrlQuery) {
for (const name of INTERNAL_QUERY_NAMES) {
delete query[name]
}
}
export function stripInternalSearchParams(
searchParams: URLSearchParams,
extended?: boolean
) {
for (const name of INTERNAL_QUERY_NAMES) {
searchParams.delete(name)
}
if (extended) {
for (const name of EXTENDED_INTERNAL_QUERY_NAMES) {
searchParams.delete(name)
}
}
return searchParams
}
...@@ -79,7 +79,8 @@ import { ...@@ -79,7 +79,8 @@ import {
} from './node-web-streams-helper' } from './node-web-streams-helper'
import { ImageConfigContext } from '../shared/lib/image-config-context' import { ImageConfigContext } from '../shared/lib/image-config-context'
import stripAnsi from 'next/dist/compiled/strip-ansi' import stripAnsi from 'next/dist/compiled/strip-ansi'
import { shouldUseReactRoot, stripInternalQueries } from './utils' import { shouldUseReactRoot } from './utils'
import { stripInternalQueries } from './internal-utils'
let tryGetPreviewData: typeof import('./api-utils/node').tryGetPreviewData let tryGetPreviewData: typeof import('./api-utils/node').tryGetPreviewData
let warn: typeof import('../build/output/log').warn let warn: typeof import('../build/output/log').warn
......
import type { NextParsedUrlQuery } from './request-meta'
import React from 'react' import React from 'react'
import { BLOCKED_PAGES } from '../shared/lib/constants' import { BLOCKED_PAGES } from '../shared/lib/constants'
...@@ -23,18 +22,5 @@ export function isTargetLikeServerless(target: string) { ...@@ -23,18 +22,5 @@ export function isTargetLikeServerless(target: string) {
return isServerless || isServerlessTrace return isServerless || isServerlessTrace
} }
export function stripInternalQueries(query: NextParsedUrlQuery) {
delete query.__nextFallback
delete query.__nextLocale
delete query.__nextDefaultLocale
delete query.__nextIsNotFound
// RSC
delete query.__flight__
delete query.__props__
// routing
delete query.__flight_router_state_tree__
}
// When react version is >= 18 opt-in using reactRoot // When react version is >= 18 opt-in using reactRoot
export const shouldUseReactRoot = parseInt(React.version) >= 18 export const shouldUseReactRoot = parseInt(React.version) >= 18
...@@ -8,6 +8,7 @@ import { NextResponse } from './spec-extension/response' ...@@ -8,6 +8,7 @@ import { NextResponse } from './spec-extension/response'
import { relativizeURL } from '../../shared/lib/router/utils/relativize-url' import { relativizeURL } from '../../shared/lib/router/utils/relativize-url'
import { waitUntilSymbol } from './spec-extension/fetch-event' import { waitUntilSymbol } from './spec-extension/fetch-event'
import { NextURL } from './next-url' import { NextURL } from './next-url'
import { stripInternalSearchParams } from '../internal-utils'
class NextRequestHint extends NextRequest { class NextRequestHint extends NextRequest {
sourcePage: string sourcePage: string
...@@ -39,6 +40,9 @@ export async function adapter(params: { ...@@ -39,6 +40,9 @@ export async function adapter(params: {
page: string page: string
request: RequestData request: RequestData
}): Promise<FetchEventResult> { }): Promise<FetchEventResult> {
// TODO-APP: use explicit marker for this
const isEdgeRendering = typeof self.__BUILD_MANIFEST !== 'undefined'
const requestUrl = new NextURL(params.request.url, { const requestUrl = new NextURL(params.request.url, {
headers: params.request.headers, headers: params.request.headers,
nextConfig: params.request.nextConfig, nextConfig: params.request.nextConfig,
...@@ -54,13 +58,16 @@ export async function adapter(params: { ...@@ -54,13 +58,16 @@ export async function adapter(params: {
requestUrl.pathname = '/' requestUrl.pathname = '/'
} }
// clean-up any internal query params // Preserve flight data.
for (const key of [...requestUrl.searchParams.keys()]) { const flightSearchParameters = requestUrl.flightSearchParameters
if (key.startsWith('__next')) { // Parameters should only be stripped for middleware
requestUrl.searchParams.delete(key) if (!isEdgeRendering) {
} requestUrl.flightSearchParameters = undefined
} }
// Strip internal query parameters off the request.
stripInternalSearchParams(requestUrl.searchParams, true)
const request = new NextRequestHint({ const request = new NextRequestHint({
page: params.page, page: params.page,
input: String(requestUrl), input: String(requestUrl),
...@@ -105,6 +112,8 @@ export async function adapter(params: { ...@@ -105,6 +112,8 @@ export async function adapter(params: {
if (rewriteUrl.host === request.nextUrl.host) { if (rewriteUrl.host === request.nextUrl.host) {
rewriteUrl.buildId = buildId || rewriteUrl.buildId rewriteUrl.buildId = buildId || rewriteUrl.buildId
rewriteUrl.flightSearchParameters =
flightSearchParameters || rewriteUrl.flightSearchParameters
response.headers.set('x-middleware-rewrite', String(rewriteUrl)) response.headers.set('x-middleware-rewrite', String(rewriteUrl))
} }
...@@ -142,6 +151,8 @@ export async function adapter(params: { ...@@ -142,6 +151,8 @@ export async function adapter(params: {
if (redirectURL.host === request.nextUrl.host) { if (redirectURL.host === request.nextUrl.host) {
redirectURL.buildId = buildId || redirectURL.buildId redirectURL.buildId = buildId || redirectURL.buildId
redirectURL.flightSearchParameters =
flightSearchParameters || redirectURL.flightSearchParameters
response.headers.set('Location', String(redirectURL)) response.headers.set('Location', String(redirectURL))
} }
......
...@@ -15,6 +15,12 @@ interface Options { ...@@ -15,6 +15,12 @@ interface Options {
} }
} }
const FLIGHT_PARAMETERS = [
'__flight__',
'__flight_router_state_tree__',
'__flight_prefetch__',
] as const
const REGEX_LOCALHOST_HOSTNAME = const REGEX_LOCALHOST_HOSTNAME =
/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|::1|localhost)/ /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|::1|localhost)/
...@@ -25,12 +31,35 @@ function parseURL(url: string | URL, base?: string | URL) { ...@@ -25,12 +31,35 @@ function parseURL(url: string | URL, base?: string | URL) {
) )
} }
function parseFlightParameters(
searchParams: URLSearchParams
): Record<string, string> | undefined {
let flightSearchParameters: Record<string, string> = {}
let flightSearchParametersUpdated = false
for (const name of FLIGHT_PARAMETERS) {
const value = searchParams.get(name)
if (value === null) {
continue
}
flightSearchParameters[name] = value
flightSearchParametersUpdated = true
}
if (!flightSearchParametersUpdated) {
return undefined
}
return flightSearchParameters
}
const Internal = Symbol('NextURLInternal') const Internal = Symbol('NextURLInternal')
export class NextURL { export class NextURL {
[Internal]: { [Internal]: {
basePath: string basePath: string
buildId?: string buildId?: string
flightSearchParameters?: Record<string, string>
defaultLocale?: string defaultLocale?: string
domainLocale?: DomainLocale domainLocale?: DomainLocale
locale?: string locale?: string
...@@ -89,6 +118,9 @@ export class NextURL { ...@@ -89,6 +118,9 @@ export class NextURL {
this[Internal].buildId = pathnameInfo.buildId this[Internal].buildId = pathnameInfo.buildId
this[Internal].locale = pathnameInfo.locale ?? defaultLocale this[Internal].locale = pathnameInfo.locale ?? defaultLocale
this[Internal].trailingSlash = pathnameInfo.trailingSlash this[Internal].trailingSlash = pathnameInfo.trailingSlash
this[Internal].flightSearchParameters = parseFlightParameters(
this[Internal].url.searchParams
)
} }
private formatPathname() { private formatPathname() {
...@@ -104,6 +136,25 @@ export class NextURL { ...@@ -104,6 +136,25 @@ export class NextURL {
}) })
} }
private formatSearch() {
const flightSearchParameters = this[Internal].flightSearchParameters
// If no flight parameters are set, return the search string as is.
// This is a fast path to ensure URLSearchParams only has to be recreated on Flight requests.
if (!flightSearchParameters) {
return this[Internal].url.search
}
// Create separate URLSearchParams to ensure the original search string is not modified.
const searchParams = new URLSearchParams(this[Internal].url.searchParams)
// If any exist this loop is always limited to the amount of FLIGHT_PARAMETERS.
for (const name in flightSearchParameters) {
searchParams.set(name, flightSearchParameters[name])
}
const params = searchParams.toString()
return params === '' ? '' : `?${params}`
}
public get buildId() { public get buildId() {
return this[Internal].buildId return this[Internal].buildId
} }
...@@ -112,6 +163,32 @@ export class NextURL { ...@@ -112,6 +163,32 @@ export class NextURL {
this[Internal].buildId = buildId this[Internal].buildId = buildId
} }
public get flightSearchParameters() {
return this[Internal].flightSearchParameters
}
public set flightSearchParameters(
flightSearchParams: Record<string, string> | undefined
) {
if (flightSearchParams) {
for (const name of FLIGHT_PARAMETERS) {
// Ensure only the provided values are set
if (flightSearchParams[name]) {
this[Internal].url.searchParams.set(name, flightSearchParams[name])
} else {
// Delete the ones that are not provided as flightData should be overridden.
this[Internal].url.searchParams.delete(name)
}
}
} else {
for (const name of FLIGHT_PARAMETERS) {
this[Internal].url.searchParams.delete(name)
}
}
this[Internal].flightSearchParameters = flightSearchParams
}
public get locale() { public get locale() {
return this[Internal].locale ?? '' return this[Internal].locale ?? ''
} }
...@@ -175,7 +252,8 @@ export class NextURL { ...@@ -175,7 +252,8 @@ export class NextURL {
get href() { get href() {
const pathname = this.formatPathname() const pathname = this.formatPathname()
return `${this.protocol}//${this.host}${pathname}${this[Internal].url.search}` const search = this.formatSearch()
return `${this.protocol}//${this.host}${pathname}${search}`
} }
set href(url: string) { set href(url: string) {
......
export default function Page() {
return <div id="failure">Failure</div>
}
import Link from 'next/link'
export default function Page() {
return (
<div>
<div>
<Link href="/internal/test/rewrite">
<a id="navigate-rewrite">Navigate Rewrite</a>
</Link>
</div>
<div>
<Link href="/internal/test/redirect">
<a id="navigate-redirect">Navigate Redirect</a>
</Link>
</div>
</div>
)
}
export default function Page() {
return <div id="success">Success</div>
}
// @ts-check
import { NextResponse } from 'next/server' import { NextResponse } from 'next/server'
/**
* @param {import('next/server').NextRequest} request
* @returns {NextResponse | undefined}
*/
export function middleware(request) { export function middleware(request) {
if (request.nextUrl.pathname === '/middleware-to-dashboard') { if (request.nextUrl.pathname === '/middleware-to-dashboard') {
// TODO: this does not copy __flight__ and __flight_router_state_tree__
return NextResponse.rewrite(new URL('/dashboard', request.url)) return NextResponse.rewrite(new URL('/dashboard', request.url))
} }
if (request.nextUrl.pathname.startsWith('/internal/test')) {
const method = request.nextUrl.pathname.endsWith('rewrite')
? 'rewrite'
: 'redirect'
const internal = ['__flight__', '__flight_router_state_tree__']
if (internal.some((name) => request.nextUrl.searchParams.has(name))) {
return NextResponse[method](new URL('/internal/failure', request.url))
}
return NextResponse[method](new URL('/internal/success', request.url))
}
} }
...@@ -105,7 +105,7 @@ describe('app dir', () => { ...@@ -105,7 +105,7 @@ describe('app dir', () => {
expect($('p').text()).toBe('hello from app/dashboard/integrations') expect($('p').text()).toBe('hello from app/dashboard/integrations')
}) })
// TODO: handle new root layout // TODO-APP: handle new root layout
it.skip('should not include parent when not in parent directory with route in directory', async () => { it.skip('should not include parent when not in parent directory with route in directory', async () => {
const html = await renderViaHTTP(next.url, '/dashboard/hello') const html = await renderViaHTTP(next.url, '/dashboard/hello')
const $ = cheerio.load(html) const $ = cheerio.load(html)
...@@ -211,16 +211,40 @@ describe('app dir', () => { ...@@ -211,16 +211,40 @@ describe('app dir', () => {
expect(await res.text()).toContain('This page could not be found') expect(await res.text()).toContain('This page could not be found')
}) })
// TODO: do we want to make this only work for /root or is it allowed // TODO-APP: do we want to make this only work for /root or is it allowed
// to work for /pages as well? // to work for /pages as well?
it.skip('should match partial parameters', async () => { it.skip('should match partial parameters', async () => {
const html = await renderViaHTTP(next.url, '/partial-match-123') const html = await renderViaHTTP(next.url, '/partial-match-123')
expect(html).toContain('hello from app/partial-match-[id]. ID is: 123') expect(html).toContain('hello from app/partial-match-[id]. ID is: 123')
}) })
it('should support rewrites', async () => { describe('rewrites', () => {
const html = await renderViaHTTP(next.url, '/rewritten-to-dashboard') // TODO-APP:
expect(html).toContain('hello from app/dashboard') it.skip('should support rewrites on initial load', async () => {
const browser = await webdriver(next.url, '/rewritten-to-dashboard')
expect(await browser.elementByCss('h1').text()).toBe('Dashboard')
expect(await browser.url()).toBe(`${next.url}/rewritten-to-dashboard`)
})
it('should support rewrites on client-side navigation', async () => {
const browser = await webdriver(next.url, '/rewrites')
try {
// Click the link.
await browser.elementById('link').click()
await browser.waitForElementByCss('#from-dashboard')
// Check to see that we were rewritten and not redirected.
expect(await browser.url()).toBe(`${next.url}/rewritten-to-dashboard`)
// Check to see that the page we navigated to is in fact the dashboard.
expect(await browser.elementByCss('#from-dashboard').text()).toBe(
'hello from app/dashboard'
)
} finally {
await browser.close()
}
})
}) })
// TODO-APP: Enable in development // TODO-APP: Enable in development
...@@ -453,28 +477,6 @@ describe('app dir', () => { ...@@ -453,28 +477,6 @@ describe('app dir', () => {
} }
}) })
it('should respect rewrites', async () => {
const browser = await webdriver(next.url, '/rewrites')
try {
// Click the link.
await browser.elementById('link').click()
await browser.waitForElementByCss('#from-dashboard')
// Check to see that we were rewritten and not redirected.
const pathname = await browser.eval('window.location.pathname')
expect(pathname).toBe('/rewritten-to-dashboard')
// Check to see that the page we navigated to is in fact the dashboard.
const html = await browser.eval(
'window.document.documentElement.innerText'
)
expect(html).toContain('hello from app/dashboard')
} finally {
await browser.close()
}
})
// TODO-APP: should enable when implemented // TODO-APP: should enable when implemented
it.skip('should allow linking from app page to pages page', async () => { it.skip('should allow linking from app page to pages page', async () => {
const browser = await webdriver(next.url, '/pages-linking') const browser = await webdriver(next.url, '/pages-linking')
...@@ -494,7 +496,7 @@ describe('app dir', () => { ...@@ -494,7 +496,7 @@ describe('app dir', () => {
}) })
describe('server components', () => { describe('server components', () => {
// TODO: why is this not servable but /dashboard+rootonly/hello.server.js // TODO-APP: why is this not servable but /dashboard+rootonly/hello.server.js
// should be? Seems like they both either should be servable or not // should be? Seems like they both either should be servable or not
it('should not serve .server.js as a path', async () => { it('should not serve .server.js as a path', async () => {
// Without .server.js should serve // Without .server.js should serve
...@@ -613,7 +615,7 @@ describe('app dir', () => { ...@@ -613,7 +615,7 @@ describe('app dir', () => {
) )
}) })
// TODO: investigate hydration not kicking in on some runs // TODO-APP: investigate hydration not kicking in on some runs
it.skip('should serve client-side', async () => { it.skip('should serve client-side', async () => {
const browser = await webdriver(next.url, '/client-component-route') const browser = await webdriver(next.url, '/client-component-route')
...@@ -634,7 +636,7 @@ describe('app dir', () => { ...@@ -634,7 +636,7 @@ describe('app dir', () => {
expect($('p').text()).toBe('hello from app/client-nested') expect($('p').text()).toBe('hello from app/client-nested')
}) })
// TODO: investigate hydration not kicking in on some runs // TODO-APP: investigate hydration not kicking in on some runs
it.skip('should include it client-side', async () => { it.skip('should include it client-side', async () => {
const browser = await webdriver(next.url, '/client-nested') const browser = await webdriver(next.url, '/client-nested')
...@@ -662,7 +664,7 @@ describe('app dir', () => { ...@@ -662,7 +664,7 @@ describe('app dir', () => {
const browser = await webdriver(next.url, '/slow-page-with-loading', { const browser = await webdriver(next.url, '/slow-page-with-loading', {
waitHydration: false, waitHydration: false,
}) })
// TODO: `await webdriver()` causes waiting for the full page to complete streaming. At that point "Loading..." is replaced by the actual content // TODO-APP: `await webdriver()` causes waiting for the full page to complete streaming. At that point "Loading..." is replaced by the actual content
// expect(await browser.elementByCss('#loading').text()).toBe('Loading...') // expect(await browser.elementByCss('#loading').text()).toBe('Loading...')
expect(await browser.elementByCss('#slow-page-message').text()).toBe( expect(await browser.elementByCss('#slow-page-message').text()).toBe(
...@@ -688,7 +690,7 @@ describe('app dir', () => { ...@@ -688,7 +690,7 @@ describe('app dir', () => {
waitHydration: false, waitHydration: false,
} }
) )
// TODO: `await webdriver()` causes waiting for the full page to complete streaming. At that point "Loading..." is replaced by the actual content // TODO-APP: `await webdriver()` causes waiting for the full page to complete streaming. At that point "Loading..." is replaced by the actual content
// expect(await browser.elementByCss('#loading').text()).toBe('Loading...') // expect(await browser.elementByCss('#loading').text()).toBe('Loading...')
expect( expect(
...@@ -719,7 +721,7 @@ describe('app dir', () => { ...@@ -719,7 +721,7 @@ describe('app dir', () => {
waitHydration: false, waitHydration: false,
} }
) )
// TODO: `await webdriver()` causes waiting for the full page to complete streaming. At that point "Loading..." is replaced by the actual content // TODO-APP: `await webdriver()` causes waiting for the full page to complete streaming. At that point "Loading..." is replaced by the actual content
// expect(await browser.elementByCss('#loading-layout').text()).toBe('Loading...') // expect(await browser.elementByCss('#loading-layout').text()).toBe('Loading...')
// expect(await browser.elementByCss('#loading-page').text()).toBe('Loading...') // expect(await browser.elementByCss('#loading-page').text()).toBe('Loading...')
...@@ -733,6 +735,32 @@ describe('app dir', () => { ...@@ -733,6 +735,32 @@ describe('app dir', () => {
}) })
}) })
describe('middleware', () => {
it.each(['rewrite', 'redirect'])(
`should strip internal query parameters from requests to middleware for %s`,
async (method) => {
const browser = await webdriver(next.url, '/internal')
try {
// Wait for and click the navigation element, this should trigger
// the flight request that'll be caught by the middleware. If the
// middleware sees any flight data on the request it'll redirect to
// a page with an element of #failure, otherwise, we'll see the
// element for #success.
await browser
.waitForElementByCss(`#navigate-${method}`)
.elementById(`navigate-${method}`)
.click()
expect(
await browser.waitForElementByCss('#success', 3000).text()
).toBe('Success')
} finally {
await browser.close()
}
}
)
})
describe('next/router', () => { describe('next/router', () => {
it('should always return null when accessed from /app', async () => { it('should always return null when accessed from /app', async () => {
const browser = await webdriver(next.url, '/old-router') const browser = await webdriver(next.url, '/old-router')
......
...@@ -94,7 +94,6 @@ describe('app dir - react server components', () => { ...@@ -94,7 +94,6 @@ describe('app dir - react server components', () => {
'__nextDefaultLocale', '__nextDefaultLocale',
'__nextIsNotFound', '__nextIsNotFound',
'__flight__', '__flight__',
'__props__',
'__flight_router_path__', '__flight_router_path__',
] ]
......
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