Skip to content

Commit 4d5d780

Browse files
macko911GatsbyJS Bot
authored and
GatsbyJS Bot
committed
fix(gatsby): clear cache before refresh (#19159)
1 parent 0471751 commit 4d5d780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/cache-dir/navigation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const navigate = (to, options = {}) => {
106106
navigator.serviceWorker.controller.state === `activated`
107107
) {
108108
navigator.serviceWorker.controller.postMessage({
109-
gatsbyApi: `resetWhitelist`,
109+
gatsbyApi: `clearPathResources`,
110110
})
111111
}
112112

0 commit comments

Comments
 (0)