diff options
author | 2017-12-22 11:50:02 +0100 | |
---|---|---|
committer | 2017-12-22 11:50:02 +0100 | |
commit | d83eed53a0cd5a5e705dcd8b28092bf2c4509593 (patch) | |
tree | 5333a18c89a432ad3172349f2d1c63aad5b7f523 | |
parent | Don't send any deep linking events when URL is empty (diff) | |
download | ferdium-app-d83eed53a0cd5a5e705dcd8b28092bf2c4509593.tar.gz ferdium-app-d83eed53a0cd5a5e705dcd8b28092bf2c4509593.tar.zst ferdium-app-d83eed53a0cd5a5e705dcd8b28092bf2c4509593.zip |
add deebug output
-rw-r--r-- | src/electron/deepLinking.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/electron/deepLinking.js b/src/electron/deepLinking.js index ef23fd3c5..f35cb460a 100644 --- a/src/electron/deepLinking.js +++ b/src/electron/deepLinking.js | |||
@@ -1,6 +1,8 @@ | |||
1 | export default function handleDeepLink(window, rawUrl) { | 1 | export default function handleDeepLink(window, rawUrl) { |
2 | const url = rawUrl.replace('franz://', ''); | 2 | const url = rawUrl.replace('franz://', ''); |
3 | 3 | ||
4 | console.log('handleDeepLink', url); | ||
5 | |||
4 | if (!url) return; | 6 | if (!url) return; |
5 | 7 | ||
6 | window.webContents.send('navigateFromDeepLink', { url }); | 8 | window.webContents.send('navigateFromDeepLink', { url }); |