Skip to content

Commit db18c63

Browse files
committed
chore: add TODO note about only enabling cache handlers for supported next.js interface
1 parent 9327416 commit db18c63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/run/handlers/server.ts

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { setupWaitUntil } from './wait-until.cjs'
2525
setFetchBeforeNextPatchedIt(globalThis.fetch)
2626
// configure some globals that Next.js make use of before we start importing any Next.js code
2727
// as some globals are consumed at import time
28+
// TODO: only call this if Next.js version is using CacheHandlerV2 as we don't have V1 compatible implementation
2829
configureUseCacheHandlers()
2930
setupWaitUntil()
3031

0 commit comments

Comments
 (0)