Skip to content

Commit

Permalink
allow options.canonicalUris to be false
Browse files Browse the repository at this point in the history
current logic always sets this value to true when it's falsey.
  • Loading branch information
jbielick authored Jan 30, 2017
1 parent 0033a37 commit 4c87b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function plugin(options) {

options = options || {};

if (!options.canonicalUris) {
if (typeof options.canonicalUris === 'undefined') {
options.canonicalUris = true;
}

Expand Down

0 comments on commit 4c87b4e

Please sign in to comment.