🐛 open images in default browser

This commit is contained in:
akashnimare
2016-09-09 07:19:47 +05:30
parent 56940dacf4
commit 99e444aec0
2 changed files with 6 additions and 9 deletions

View File

@@ -7,6 +7,9 @@ function linkIsInternal(currentUrl, newUrl) {
return currentDomain === newDomain;
}
// We'll be needing this to open images in default browser
const skipImages = '.jpg|.gif|.png|.jpeg|.JPG|.PNG';
exports = module.exports = {
linkIsInternal
linkIsInternal, skipImages
};