Skip to content
Snippets Groups Projects
Unverified Commit db6d976a authored by bsimml's avatar bsimml Committed by GitHub
Browse files

Allow mailto links to be opened externally

parent 5c49372e
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment