Browse Source

重新打包试试

1
mo 1 year ago
parent
commit
b8f6ed8678
3 changed files with 4 additions and 4 deletions
  1. 1 1
      dev-dist/sw.js
  2. BIN
      public/logo.png
  3. 3 3
      vite.config.ts

+ 1 - 1
dev-dist/sw.js

@@ -82,7 +82,7 @@ define(['./workbox-5357ef54'], (function (workbox) { 'use strict';
     "revision": "3ca0b8505b4bec776b69afdba2768812"
   }, {
     "url": "index.html",
-    "revision": "0.vhi9vnjfui"
+    "revision": "0.3rt8lmo2vho"
   }], {});
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {

BIN
public/logo.png


+ 3 - 3
vite.config.ts

@@ -59,17 +59,17 @@ export default defineConfig({
         theme_color: '#fff',
         icons: [
           {
-            src: './public/logo.png',
+            src: './src/common/images/logo.png',
             sizes: '192x192',
             type: 'image/png'
           },
           {
-            src: './public/logo.png',
+            src: './src/common/images/logo.png',
             sizes: '512x512',
             type: 'image/png'
           },
           {
-            src: './public/logo.png',
+            src: './src/common/images/logo.png',
             sizes: '512x512',
             type: 'image/png',
             purpose: 'any maskable'