From 45e56ca7c226f550cc4c329216bb85385770347b Mon Sep 17 00:00:00 2001 From: Katrin Leinweber <9948149+katrinleinweber@users.noreply.github.com> Date: Wed, 30 May 2018 17:31:03 +0100 Subject: [PATCH] Hyperlink DOIs against preferred resolver --- retrieve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retrieve.js b/retrieve.js index b85531f..24470b7 100644 --- a/retrieve.js +++ b/retrieve.js @@ -37,7 +37,7 @@ var geturls = function (sd, api) { } } if (url === false && ob.DOI) { - url = 'http://dx.doi.org/' + ob.DOI[0] + url = 'https://doi.org/' + ob.DOI[0] } if (url === false && ob.pmcid) { url = 'http://europepmc.org/articles/PMC' + ob.pmcid[0].replace('PMC', '')