Browse Source

Allow mailto links to be opened externally

master
bsimml 1 year ago committed by GitHub
parent
commit
db6d976ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/features/utils/openExternalLink.js

2
app/features/utils/openExternalLink.js

@ -2,7 +2,7 @@ const { shell } = require('electron');
const url = require('url');
const protocolRegex = /^https?:/i;
const protocolRegex = /^(https?|mailto):/i;
/**
* Opens the given link in an external browser.

Loading…
Cancel
Save