mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Reverts vercel/next.js#71046 #71051 fixed the underlying issue, so we don't need this anymore.
9 lines
291 B
JavaScript
9 lines
291 B
JavaScript
import { workUnitAsyncStorage } from 'next/dist/server/app-render/work-unit-async-storage.external'
|
|
|
|
export default async function Page() {
|
|
// cookies is undefined if not set
|
|
return !!workUnitAsyncStorage.getStore().cookies ? 'success' : 'fail'
|
|
}
|
|
|
|
export const dynamic = 'force-dynamic'
|