mo 1 年間 前
コミット
d12eb1f008
2 ファイル変更4 行追加2 行削除
  1. 1 1
      dev-dist/sw.js
  2. 3 1
      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.rt6u0crdvbg"
+    "revision": "0.j9uk7h7ksmg"
   }], {});
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {

+ 3 - 1
vite.config.ts

@@ -83,10 +83,12 @@ export default defineConfig({
             purpose: 'any maskable'
           }
         ],
+        prefer_related_applications: true,
         related_applications: [
           {
             platform: 'webapp',
-            url: 'https://test.lexiaoya.cn'
+            id: 'yyszkt',
+            url: 'https://test.lexiaoya.cn/classroom/manifest.json'
           }
         ]
       },