From 4c87b4ebe067ae8e6f6b439ce67bdceb1587fba4 Mon Sep 17 00:00:00 2001 From: Josh Bielick Date: Mon, 30 Jan 2017 11:57:52 -0500 Subject: [PATCH] allow `options.canonicalUris` to be false current logic always sets this value to true when it's falsey. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7d22e68..ea345c0 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ function plugin(options) { options = options || {}; - if (!options.canonicalUris) { + if (typeof options.canonicalUris === 'undefined') { options.canonicalUris = true; }