Browse Source

Add share target

Trevor Elliott 3 years ago
parent
commit
59fb7831a7
1 changed files with 10 additions and 1 deletions
  1. 10 1
      static/manifest.json

+ 10 - 1
static/manifest.json

@@ -15,5 +15,14 @@
       "type": "image/png",
       "sizes": "512x512"
     }
-  ]
+  ],
+  "share_target": {
+    "action": "/add-link",
+    "method": "GET",
+    "params": {
+      "title": "name",
+      "text": "text",
+      "url": "url"
+    }
+  }
 }