fix: PWA share_target. The URL from your browser comes in via 'text' instead of the expected 'url' (#2654)

This commit is contained in:
boc-the-git 2023-10-18 03:22:03 +11:00 committed by GitHub
parent 3257ea2980
commit defdc82d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -344,9 +344,12 @@ export default {
share_target: {
action: "/recipe/create/url",
method: "GET",
enctype: "application/x-www-form-urlencoded",
params: {
url: "recipe_import_url",
/* title and url are not currently used in Mealie. If there are issues
with sharing, uncommenting those lines might help solve the puzzle. */
// "title": "title",
"text": "recipe_import_url",
// "url": "url",
},
},
icons: [