瀏覽代碼

added app shortcuts

tigger 1 年之前
父節點
當前提交
9a48d0dc3b
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/manifest.webmanifest

+ 10 - 0
src/manifest.webmanifest

@@ -43,5 +43,15 @@
       "type": "image/png",
       "purpose": "maskable any"
     }
+  ],
+  "shortcuts": [
+    {
+      "name": "Apply New Leave",
+      "url": "/#/leave;type=new",
+      "icons": [{
+        "src": "https://cdn.swopt.com/media/icons/leave.png",
+        "sizes": "192x192"
+      }]
+    }
   ]
 }