Skip to content

Commit 585c229

Browse files
committed
fix: adding proper handling of the ext URLs
Signed-off-by: Pawel Psztyc <[email protected]>
1 parent 9ac3d18 commit 585c229

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/scripts/arc/AdvancedRestClientApplication.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,11 @@ export class AdvancedRestClientApplication extends ApplicationPage {
853853
[externalNavigationHandler](e) {
854854
const { url, detail } = e;
855855
const { purpose } = detail;
856-
ipc.send('open-web-url', url, purpose);
856+
if (!purpose) {
857+
ipc.send('open-external-url', url);
858+
} else {
859+
ipc.send('open-web-url', url, purpose);
860+
}
857861
}
858862

859863
/**

0 commit comments

Comments
 (0)