2763f60806
Do not directly import app-render into base-server since base-server is shared module for both nodejs SSR and edge SSR. Co-authored-by: JJ Kasper <jj@jjsweb.site> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
11 lines
387 B
TypeScript
11 lines
387 B
TypeScript
export const RSC = 'RSC' as const
|
|
export const NEXT_ROUTER_STATE_TREE = 'Next-Router-State-Tree' as const
|
|
export const NEXT_ROUTER_PREFETCH = 'Next-Router-Prefetch' as const
|
|
export const RSC_VARY_HEADER =
|
|
`${RSC}, ${NEXT_ROUTER_STATE_TREE}, ${NEXT_ROUTER_PREFETCH}` as const
|
|
|
|
export const FLIGHT_PARAMETERS = [
|
|
[RSC],
|
|
[NEXT_ROUTER_STATE_TREE],
|
|
[NEXT_ROUTER_PREFETCH],
|
|
] as const
|