Parcourir la source

提交一下 重新打包

1
mo il y a 1 an
Parent
commit
2dab979ad3
3 fichiers modifiés avec 9 ajouts et 44 suppressions
  1. 1 5
      dev-dist/sw.js
  2. 0 31
      manifest.json
  3. 8 8
      vite.config.ts

+ 1 - 5
dev-dist/sw.js

@@ -82,11 +82,7 @@ define(['./workbox-5357ef54'], (function (workbox) { 'use strict';
     "revision": "3ca0b8505b4bec776b69afdba2768812"
   }, {
     "url": "index.html",
-<<<<<<< Updated upstream
-    "revision": "0.d4djpv1e6ho"
-=======
-    "revision": "0.s7m31fjqcb8"
->>>>>>> Stashed changes
+    "revision": "0.5a74efu4tpo"
   }], {});
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {

+ 0 - 31
manifest.json

@@ -1,31 +0,0 @@
-{
-  "name": "酷乐秀-音乐数字课堂",
-  "short_name": "音乐数字课堂",
-  "theme_color": "#fff",
-  "icons": [
-    {
-      "src": "./logo.png",
-      "sizes": "192x192",
-      "type": "image/png"
-    },
-    {
-      "src": "./logo.png",
-      "sizes": "512x512",
-      "type": "image/png"
-    },
-    {
-      "src": "./logo.png",
-      "sizes": "512x512",
-      "type": "image/png",
-      "purpose": "any maskable"
-    }
-  ],
-  "prefer_related_applications": true,
-  "related_applications": [
-    {
-      "platform": "webapp",
-      "id": "yyszkt",
-      "url": "https://test.lexiaoya.cn/classroom/manifest.json"
-    }
-  ]
-}

+ 8 - 8
vite.config.ts

@@ -82,15 +82,15 @@ export default defineConfig({
             type: 'image/png',
             purpose: 'any maskable'
           }
-        ],
-        prefer_related_applications: false,
-        related_applications: [
-          {
-            platform: 'webapp',
-            id: 'yyszkt',
-            url: './manifest.webmanifest'
-          }
         ]
+        // prefer_related_applications: false,
+        // related_applications: [
+        //   {
+        //     platform: 'webapp',
+        //     id: 'yyszkt',
+        //     url: './manifest.webmanifest'
+        //   }
+        // ]
       },
 
       devOptions: {