From 937e6e5ab5e765f4ac274bd1a319b283b930aa65 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Tue, 21 Dec 2021 10:29:34 +0000 Subject: [PATCH] fix: fix bug that caused ISR pages to sometimes serve first built version --- src/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index c14079e1f5..622dfd692e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -73,9 +73,7 @@ const plugin: NetlifyPlugin = { await movePublicFiles({ appDir, outdir, publish }) - if (process.env.EXPERIMENTAL_ODB_TTL) { - await patchNextFiles(basePath) - } + await patchNextFiles(basePath) if (process.env.EXPERIMENTAL_MOVE_STATIC_PAGES) { console.log(