Skip to content

Commit 5281860

Browse files
authored
fix: workaround netlify-cli not matching prod
1 parent a630ab4 commit 5281860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/getHandler.ts

Lines changed: 1 addition & 1 deletion
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)