Commit 94f16b2
authored
fix: don't cache /edit route in Next recipe
Next.js cache was interfering with the dynamic `/puck` route in the next
recipe. Note, the regular route is behaving as expected.
This fix forces the /edit route to use dynamic rendering.
## Steps to reproduce
1. Clone the repo
2. Run yarn to install dependencies
3. Run yarn build to generate a build
4. Run yarn start to run the production build
5. Navigate to page editor
6. Reload the page
7. Make changes and hit the publish button
8. Reload the page
## What happened
The old data was shown
## Wha I expected to happen
The new data to be shown1 parent cfecf54 commit 94f16b2
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments