snipette-gridsome/static/component---src-pages-404-js-aaa2fa405f7ff5b334ff.js
Hippo 6181fec71f Add hack files to trick Gatsby into reloading itself
Otherwise it keeps on trying to load Gatsby pages (and not finding
them because we've switched to Gridsome).
2020-03-29 18:07:35 +05:30

2 lines
No EOL
1 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{253:function(e,t,a){"use strict";a.r(t);var n=a(0),c=a.n(n),s=a(4),o=a(245);t.default=function(){return c.a.createElement(o.b,null,c.a.createElement("div",{className:"container"},c.a.createElement("article",{className:"content",style:{textAlign:"center"}},c.a.createElement("h1",{className:"content-title"},"Site Updated"),c.a.createElement("section",{className:"content-body"},"This website has been updated. ",c.a.createElement(s.Link,{to:"/"},"Reload the page")," to continue browsing."),c.a.createElement("script",{dangerouslySetInnerHTML:{__html:"if (document.getElementsByName('generator')[0].content.toLowerCase().slice(0,6) == 'gatsby') {\n console.log('Deleting Gatsby cache');\n caches.keys().then(async (cacheKeys)=>{await cacheKeys.map((cacheKey)=>{console.log('Deleting: ' + cacheKey);caches.delete(cacheKey)});window.location.reload(true)});\n }"}}))))}}}]);
//# sourceMappingURL=component---src-pages-404-js-aaa2fa405f7ff5b334ff.js.map