Allow mailto links to be opened externally

This commit is contained in:
bsimml 2021-03-23 16:21:16 +01:00 committed by GitHub
parent 5c49372e11
commit db6d976ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.