diff --git a/README.md b/README.md index a61d209..f7fd6b2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Canopy -0.1-Alpha (Panama Red) - Hotfix 3 +0.1-Alpha (Panama Red) - Hotfix 4 ========= Canopy - /ˈkæ.nə.pi/: diff --git a/package.json b/package.json index 54af4f0..8d3c69d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "canopy-of-alpha", - "version": "0.1.3", - "canopyDisplayVersion": "0.1-Alpha (Panama Red) - Hotfix 3", + "version": "0.1.4", + "canopyDisplayVersion": "0.1-Alpha (Panama Red) - Hotfix 4", "license": "AGPL-3.0-only", "dependencies": { "@braintree/sanitize-url": "^7.1.1", diff --git a/src/utils/linkUtils.js b/src/utils/linkUtils.js index 76b8e45..e7149cd 100644 --- a/src/utils/linkUtils.js +++ b/src/utils/linkUtils.js @@ -35,15 +35,6 @@ module.exports.cache = new Map(); module.exports.markLink = async function(dirtyLink){ const link = sanitizeUrl(dirtyLink); - //If this link is referencing this web server - if(link.match(new RegExp(`^${config.protocol}://${config.domain}`)) != null){ - //Lazily return it as a good link, since we know it'll at least return a good 404 page XP - return { - link, - type: "link" - } - } - //Check link cache for the requested link const cachedLink = module.exports.cache.get(link);