Skip to content

Commit

Permalink
Open an existing window if there is one
Browse files Browse the repository at this point in the history
Summary:
Before this change, opening deep-links or importing files would open new windows.

Instead, just use an existing window if there is one.

Documentation: https://developer.chrome.com/docs/web-platform/launch-handler/

Reviewed By: lawrencelomax

Differential Revision: D48865950

fbshipit-source-id: 80c3fb58f1fcc3b8ace00fd9241bf1e374c8345e
  • Loading branch information
lblasa authored and facebook-github-bot committed Aug 31, 2023
1 parent cc9b62e commit aec376a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions desktop/static/manifest.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"sizes": "256x256"
}
],
"launch_handler": {
"client_mode": "focus-existing"
},
"file_handlers": [
{
"action": "/",
Expand Down

0 comments on commit aec376a

Please sign in to comment.