8000 fix: fix bug that caused ISR pages to sometimes serve first built ver… · opennextjs/opennextjs-netlify@62660b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62660b2

Browse files
fix: fix bug that caused ISR pages to sometimes serve first built version (#1051)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent eecfdab commit 62660b2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ const plugin: NetlifyPlugin = {
7373

7474
await movePublicFiles({ appDir, outdir, publish })
7575

76-
if (process.env.EXPERIMENTAL_ODB_TTL) {
77-
await patchNextFiles(basePath)
78-
}
76+
await patchNextFiles(basePath)
7977

8078
if (process.env.EXPERIMENTAL_MOVE_STATIC_PAGES) {
8179
console.log(

0 commit comments

Comments
 (0)
0