Fix check for whether shell has changed (#5176)
Previously shell_top was being checked twice - now we check top + bottom :)
This commit is contained in:
parent
367f05695f
commit
e98d3cb7be
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@
|
|||
function createPageStream(request) {
|
||||
const stream = new ReadableStream({
|
||||
start(controller) {
|
||||
if (!caches.match('/shell_top') || !caches.match('/shell_top')) { //return if shell isn't cached.
|
||||
if (!caches.match('/shell_top') || !caches.match('/shell_bottom')) { //return if shell isn't cached.
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -140,4 +140,4 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue