Skip to content

Commit fd29ea5

Browse files
piehLekoArts
andauthored
fix: workaround netlify-cli not matching prod (#2030)
Co-authored-by: Lennart <[email protected]>
1 parent 36cec73 commit fd29ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/getHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const makeHandler = (conf: NextConfig, app, pageRoot, staticManifest: Array<[str
8686
port,
8787
},
8888
{
89-
revalidateToken: customContext.odb_refresh_hooks,
89+
revalidateToken: customContext?.odb_refresh_hooks,
9090
},
9191
)
9292
const requestHandler = nextServer.getRequestHandler()

0 commit comments

Comments
 (0)