Skip to content

Commit

Permalink
upgrade to 0.0.6
Browse files Browse the repository at this point in the history
walkerkay committed Dec 26, 2017

Verified

This commit was signed with the committer’s verified signature.
1 parent fe9dd15 commit b6d4b86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uri.js
Original file line number Diff line number Diff line change
@@ -78,8 +78,8 @@ URI.getSecondaryDomain = function (host, primaryDomains) {
};

URI.getOriginReplaceMainHost = function (host, mainHost, primaryDomains) {
const protocol = window.location.protocol;
const secondaryDomain = this.getSecondaryDomain(host, primaryDomains);
var protocol = window.location.protocol;
var secondaryDomain = this.getSecondaryDomain(host, primaryDomains);
if (secondaryDomain) {
return protocol + '//' + secondaryDomain + '.' + mainHost;
} else {

0 comments on commit b6d4b86

Please sign in to comment.