Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
fix for deeplinking
Browse files Browse the repository at this point in the history
  • Loading branch information
talhasch committed Jul 26, 2018
1 parent 9398608 commit 08bec11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ app.on('open-url', function (event, url) {
});

const sendProtocolUrl2Window = (u) => {
if (typeof u !== 'string') {
return false;
}

const m = u.match(/e?steem:\/\/[-a-zA-Z0-9@:%._\+~#=\/]{2,500}/gi);
if (!m) {
return false;
Expand Down

0 comments on commit 08bec11

Please sign in to comment.