Skip to content

Commit

Permalink
fix: open with browser not working in linux firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Feb 10, 2024
1 parent f34e2f6 commit 414462e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phoenix/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ Phoenix.app = {
reject("openURLInDefaultBrowser: URL should be http or https, but was " + url);
return;
}
window.__TAURI__.shell.open(url)
window.__TAURI__.invoke('open_url_in_browser', {url: url})
.then(resolve)
.catch(reject);
});
Expand Down

0 comments on commit 414462e

Please sign in to comment.