mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-05-15 06:17:29 -04:00
fix: make PWA share target functional on Android Chrome (#7468)
Co-authored-by: Zdenek <tvuj-email@example.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,13 @@ def serve_manifest():
|
||||
"action": "/r/create/url",
|
||||
"method": "GET",
|
||||
"enctype": "application/x-www-form-urlencoded",
|
||||
"params": {"text": "recipe_import_url"},
|
||||
"params": {
|
||||
# 'url' is the field Chrome Android populates when sharing a page URL
|
||||
"url": "recipe_import_url",
|
||||
# 'text' is used by apps that share URLs as plain text; mapped to a
|
||||
# separate param so the page can fall back to it when 'url' is absent
|
||||
"text": "recipe_import_text",
|
||||
},
|
||||
},
|
||||
"icons": [
|
||||
{"src": "/icons/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any"},
|
||||
|
||||
Reference in New Issue
Block a user