|
@@ -7,7 +7,7 @@ self.fallback = async request => {
|
|
// https://developer.mozilla.org/en-US/docs/Web/API/RequestDestination
|
|
// https://developer.mozilla.org/en-US/docs/Web/API/RequestDestination
|
|
switch (request.destination) {
|
|
switch (request.destination) {
|
|
case 'document':
|
|
case 'document':
|
|
- if (true) return caches.match("/_offline", {
|
|
|
|
|
|
+ if (true) return caches.match("/editor", {
|
|
ignoreSearch: true
|
|
ignoreSearch: true
|
|
});
|
|
});
|
|
|
|
|