File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,7 +262,6 @@ function Site(props) {
262262 />
263263 < meta name = "mobile-web-app-capable" content = "yes" />
264264 < link rel = "icon" sizes = "192x192" href = "/icon_192x192.png" />
265- < link rel = "icon" sizes = "512x512" href = "/icon_512x512.png" />
266265 < meta name = "apple-mobile-web-app-capable" content = "yes" />
267266 < meta name = "apple-mobile-web-app-status-bar-style" content = "black" />
268267 < meta name = "apple-mobile-web-app-title" content = "webpack" />
Original file line number Diff line number Diff line change @@ -88,10 +88,7 @@ setDefaultHandler(new NetworkOnly());
8888
8989// fallback to app-shell for document request
9090setCatchHandler ( ( { event } ) => {
91- switch ( event . request . destination ) {
92- case "document" :
93- return caches . match ( "/app-shell/index.html" ) ;
94- default :
95- return fetch ( event . request ) ;
91+ if ( event . request . destination === "document" ) {
92+ return caches . match ( "/app-shell/index.html" ) ;
9693 }
9794} ) ;
You can’t perform that action at this time.
0 commit comments