diff --git a/public/sw.js b/public/sw.js index 3dd0a15..2604385 100644 --- a/public/sw.js +++ b/public/sw.js @@ -68,23 +68,6 @@ routing.registerRoute( }) ); -routing.registerRoute( - /.*fonts\.googleapis\.cn/, - new CacheFirst({ - cacheName: 'static-immutable' + cacheSuffixVersion, - fetchOptions: { - mode: 'cors', - credentials: 'omit' - }, - plugins: [ - new ExpirationPlugin({ - maxAgeSeconds: 30 * 24 * 60 * 60, - purgeOnQuotaError: true - }) - ] - }) -); - routing.registerRoute( /.*fonts\.gstatic\.cn/, new CacheFirst({ @@ -135,8 +118,6 @@ routing.registerRoute( StaleWhileRevalidateInstance ); - - routing.registerRoute( new RegExp('moe'), StaleWhileRevalidateInstance diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index ce879ea..ae5b940 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -155,6 +155,13 @@ export default function App() { + + + + Redirecting... + + +