mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-31 02:59:42 +02:00
fix: PWA share_target. The URL from your browser comes in via 'text' instead of the expected 'url' (#2654)
This commit is contained in:
parent
3257ea2980
commit
defdc82d74
1 changed files with 5 additions and 2 deletions
|
@ -344,9 +344,12 @@ export default {
|
||||||
share_target: {
|
share_target: {
|
||||||
action: "/recipe/create/url",
|
action: "/recipe/create/url",
|
||||||
method: "GET",
|
method: "GET",
|
||||||
enctype: "application/x-www-form-urlencoded",
|
|
||||||
params: {
|
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: [
|
icons: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue