浏览代码

Fix manifest?

Trevor Elliott 3 年之前
父节点
当前提交
1b95250719
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      static/manifest.json

+ 3 - 1
static/manifest.json

@@ -17,8 +17,10 @@
     }
   ],
   "share_target": {
-    "action": "/add-link",
+    "action": "share",
+    "url_template": "/add-link?url={url}&name={title}&text={text}",
     "method": "GET",
+    "enctype": "application/x-www-form-urlencoded",
     "params": {
       "title": "name",
       "text": "text",