From defdc82d749803e491211084a4ec938a564517a8 Mon Sep 17 00:00:00 2001 From: boc-the-git <3479092+boc-the-git@users.noreply.github.com> Date: Wed, 18 Oct 2023 03:22:03 +1100 Subject: [PATCH] fix: PWA share_target. The URL from your browser comes in via 'text' instead of the expected 'url' (#2654) --- frontend/nuxt.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/nuxt.config.js b/frontend/nuxt.config.js index 913f6a2a4e1..818eddb30b3 100644 --- a/frontend/nuxt.config.js +++ b/frontend/nuxt.config.js @@ -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: [