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

Skip to content

Commit 937e6e5

Browse files
committed
fix: fix bug that caused ISR pages to sometimes serve first built version
1 parent 44b573b commit 937e6e5

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