Commit a4b445b
committed
prerender: Wait for the loading state to complete, fix 404
Prior to this fix, `render()` preemptively considered the app rendering to
be final, before completing the transition out of the loading state entirely.
This resulted in notFound pages not being identified as such, returning
them with a 200 OK status code instead of a 404 Not Found.1 parent 135dce7 commit a4b445b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments