From a61f5f47024e26f372d5a454c8bbead967c029f3 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Tue, 2 Apr 2024 09:35:08 +0200 Subject: [PATCH] Add shortcuts definition to the webapp manifest --- public/manifest.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/public/manifest.json b/public/manifest.json index 31d1356e..ca7ff699 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -11,5 +11,22 @@ "start_url": "/", "display": "standalone", "scope": "/", - "theme_color": "#242424" + "theme_color": "#242424", + "shortcuts": [ + { + "name": "New 2FA", + "url": "/start", + "description": "Add a new 2FA account by flashing a QR code or filling out a form" + }, + { + "name": "Import 2FAs", + "url": "/account/import", + "description": "Import 2FA accounts previously exported from another 2FA app" + }, + { + "name": "Settings", + "url": "/settings/options", + "description": "Manage your 2FAuth user settings" + } + ] } \ No newline at end of file