This commit is contained in:
Stefano Brilli 2020-03-24 10:03:24 +01:00
parent 6d69e9be91
commit 774e34a8d5
9 changed files with 86 additions and 13 deletions

View File

@ -1,8 +1,8 @@
{
"files": {
"main.css": "/webminidisc/static/css/main.0b990f46.chunk.css",
"main.js": "/webminidisc/static/js/main.79696204.chunk.js",
"main.js.map": "/webminidisc/static/js/main.79696204.chunk.js.map",
"main.js": "/webminidisc/static/js/main.a222d332.chunk.js",
"main.js.map": "/webminidisc/static/js/main.a222d332.chunk.js.map",
"runtime-main.js": "/webminidisc/static/js/runtime-main.114d47b9.js",
"runtime-main.js.map": "/webminidisc/static/js/runtime-main.114d47b9.js.map",
"static/js/2.7f5ae350.chunk.js": "/webminidisc/static/js/2.7f5ae350.chunk.js",
@ -14,7 +14,7 @@
"ff3100a0019baa5b3604.worker.js.LICENSE.txt": "/webminidisc/ff3100a0019baa5b3604.worker.js.LICENSE.txt",
"ff3100a0019baa5b3604.worker.js.map": "/webminidisc/ff3100a0019baa5b3604.worker.js.map",
"index.html": "/webminidisc/index.html",
"precache-manifest.4f525d539c46c181a0d761bf3e7c30a3.js": "/webminidisc/precache-manifest.4f525d539c46c181a0d761bf3e7c30a3.js",
"precache-manifest.09c5a08892fa12a801990b476996a98f.js": "/webminidisc/precache-manifest.09c5a08892fa12a801990b476996a98f.js",
"service-worker.js": "/webminidisc/service-worker.js",
"static/css/main.0b990f46.chunk.css.map": "/webminidisc/static/css/main.0b990f46.chunk.css.map",
"static/js/2.7f5ae350.chunk.js.LICENSE.txt": "/webminidisc/static/js/2.7f5ae350.chunk.js.LICENSE.txt",
@ -24,6 +24,6 @@
"static/js/runtime-main.114d47b9.js",
"static/js/2.7f5ae350.chunk.js",
"static/css/main.0b990f46.chunk.css",
"static/js/main.79696204.chunk.js"
"static/js/main.a222d332.chunk.js"
]
}

17
extra-service-worker.js Normal file
View File

@ -0,0 +1,17 @@
// List of extra files to be precached for offline use.
// WARNING: don't forget to update the revision before deploy
var revision = "6";
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": revision,
"url": "/webminidisc/atracdenc.js"
},
{
"revision": revision,
"url": "/webminidisc/worker.min.js"
},
{
"revision": revision,
"url": "/webminidisc/ffmpeg-core.js"
},
]);

56
final-service-worker.js Normal file
View File

@ -0,0 +1,56 @@
// List of extra files to be precached for offline use.
// WARNING: don't forget to update the revision before deploy
var revision = "6";
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": revision,
"url": "/webminidisc/atracdenc.js"
},
{
"revision": revision,
"url": "/webminidisc/worker.min.js"
},
{
"revision": revision,
"url": "/webminidisc/ffmpeg-core.js"
},
]);
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/webminidisc/precache-manifest.09c5a08892fa12a801990b476996a98f.js"
);
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
workbox.core.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/webminidisc/index.html"), {
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><script async src="https://www.googletagmanager.com/gtag/js?id=UA-60498490-1"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","UA-60498490-1")</script><link rel="icon" href="/webminidisc/favicon.ico"/><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Bring back to life your old NetMD MiniDisc player. Upload music to MiniDisc from the Browser."/><link rel="apple-touch-icon" href="/webminidisc/MiniDisc192.png"/><link rel="manifest" href="/webminidisc/manifest.json"/><title>Web MiniDisc - Brings NetMD Devices to the Web</title><link href="/webminidisc/static/css/main.0b990f46.chunk.css" rel="stylesheet"></head><body><script>try{"https:"===location.protocol||location.host.match(/^localhost/gm)||(location.replace(`https:${location.href.substring(location.protocol.length)}`),console.log("Redirecting to https...."))}catch(o){console.log(o)}</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script><script>!function(e){function r(r){for(var n,i,l=r[0],f=r[1],a=r[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var f=t[l];0!==o[f]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/webminidisc/";var l=this.webpackJsonpwebmd=this.webpackJsonpwebmd||[],f=l.push.bind(l);l.push=r,l=l.slice();for(var a=0;a<l.length;a++)r(l[a]);var p=f;t()}([])</script><script src="/webminidisc/static/js/2.7f5ae350.chunk.js"></script><script src="/webminidisc/static/js/main.79696204.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><script async src="https://www.googletagmanager.com/gtag/js?id=UA-60498490-1"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","UA-60498490-1")</script><link rel="icon" href="/webminidisc/favicon.ico"/><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Bring back to life your old NetMD MiniDisc player. Upload music to MiniDisc from the Browser."/><link rel="apple-touch-icon" href="/webminidisc/MiniDisc192.png"/><link rel="manifest" href="/webminidisc/manifest.json"/><title>Web MiniDisc - Brings NetMD Devices to the Web</title><link href="/webminidisc/static/css/main.0b990f46.chunk.css" rel="stylesheet"></head><body><script>try{"https:"===location.protocol||location.host.match(/^localhost/gm)||(location.replace(`https:${location.href.substring(location.protocol.length)}`),console.log("Redirecting to https...."))}catch(o){console.log(o)}</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script><script>!function(e){function r(r){for(var n,i,l=r[0],f=r[1],a=r[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var f=t[l];0!==o[f]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/webminidisc/";var l=this.webpackJsonpwebmd=this.webpackJsonpwebmd||[],f=l.push.bind(l);l.push=r,l=l.slice();for(var a=0;a<l.length;a++)r(l[a]);var p=f;t()}([])</script><script src="/webminidisc/static/js/2.7f5ae350.chunk.js"></script><script src="/webminidisc/static/js/main.a222d332.chunk.js"></script></body></html>

View File

@ -16,11 +16,11 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/webminidisc/ff3100a0019baa5b3604.worker.js.LICENSE.txt"
},
{
"revision": "34ffc4245f076388f3453be5f83e7e0f",
"revision": "8c2179887b6d4b1f4ee8b643a6ed29bc",
"url": "/webminidisc/index.html"
},
{
"revision": "5d2cde985b937e7ff0e5",
"revision": "b32861e27ed3e8d3a64a",
"url": "/webminidisc/static/css/main.0b990f46.chunk.css"
},
{
@ -32,8 +32,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/webminidisc/static/js/2.7f5ae350.chunk.js.LICENSE.txt"
},
{
"revision": "5d2cde985b937e7ff0e5",
"url": "/webminidisc/static/js/main.79696204.chunk.js"
"revision": "b32861e27ed3e8d3a64a",
"url": "/webminidisc/static/js/main.a222d332.chunk.js"
},
{
"revision": "b873df5f5158f06b4f7b",

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/webminidisc/precache-manifest.4f525d539c46c181a0d761bf3e7c30a3.js"
"/webminidisc/precache-manifest.09c5a08892fa12a801990b476996a98f.js"
);
self.addEventListener('message', (event) => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long