snipette-gridsome/static/component---src-pages-404-js-aaa2fa405f7ff5b334ff.js

2 lines
1 KiB
JavaScript
Raw Normal View History

(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